$ lerna bootstrap. Bootstrap the packages in the current Lerna repo. Installs all of their dependencies and links any cross-dependencies. When run, this command will: npm install all external dependencies of each package.
What is lerna for?
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.
Do you need lerna?
Why Should Developers Use Lerna? Lerna makes things easier for developers by managing tasks like versioning, deployment of code, dependency management between projects, and much more. It is mostly used in bigger projects, where it becomes hard to maintain all these tasks manually over time.