![lerna](https://camo.githubusercontent.com/6db231005df9e21b4006123637fa126726529de492f34266702bdf6197ec3c69/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6d61696e7461696e6564253230776974682d6c65726e612d6363303066662e737667)
# install public dependencies in the root directory
yarn add -W <package>
# install dependencies for the specified workspace
yarn workspace <workspace> add <package>
# execute commands in all workspace
yarn workspaces run <command>
# execute the command in the specified workspace
yarn workspace <workspace> <command>
# install dependencies for packages/*
lerna add <package>
# install dependencies for the specified workspace
lerna add <package> --scope <workspace>
# execute commands in all workspace
lerna run <command>