What Does Lerna Bootstrap Do

Bootstrap the packages in the current Lerna repo. Installing all their dependencies and linking any cross-dependencies. This command is crucial, as it allows you to use your package names in require() as if the packages were already existing and available in your node_modules folder.

What is the point of Lerna?

Lerna is a tool to manage Monorepos with Git and npm, which automatically ties together all package versions used across your repository. Assume that you have multiple typescript projects in different repositories that have common dependencies.

What is npm lerna?

Lerna​ Lerna is a tool to manage several Javascript projects with multiple packages (called monorepos), optimizing the workflows around them. You can install it globally with npm install –global lerna , yarn global add lerna or your favourite package manager, to run commands with lerna <command> .

Marcus Vance

Marcus Vance

Cybersecurity & Digital Privacy Researcher

Marcus Vance is a cybersecurity auditor and technology writer dedicated to educating the public about online safety, data privacy regulations, enterprise security, and emerging cyber threats.

Share this article
Twitter Facebook Pinterest