Subcommands18 subcommands
lerna init
Create a new lerna repo or upgrade an existing repo to the current version of Lerna
lerna bootstrap
Bootstrap the packages in the current Lerna repo. Installing all their dependencies and linking any cross-dependencies
lerna import
Import the package in the local path <pathToRepo> into packages/<directory-name> with commit history
lerna publish
Create a new release of the packages that have been updated. Prompts for a new version and updates all the packages on git and npm
lerna ls
List local packages
lerna ll
List local packages
lerna la
List local packages
lerna list
List local packages
lerna changed
Check which packages have changed since the last release
lerna run
Run an npm script in each package that contains that script
lerna link
Symlink together all Lerna packages that are dependencies of each other in the current Lerna repo
lerna info
Prints local environment information that proves to be useful especially while submitting bug reports
lerna version
Bump version of packages changed since the last release
lerna diff
Diff all packages or a single package since the last release
lerna exec
Execute an arbitrary command in each package
lerna add
Add a dependency to matched packages
lerna clean
Remove the node_modules directory from all packages
lerna create
Create a new lerna-managed package