Yarn
Global
Path Setup
export PATH="$(yarn global bin):$PATH"Default config file
.eslintrc
Install package globally
yarn global add @nestjs/cliInstall package globally and specifying the directory
yarn global add nodemon --prefix /usr/localDisplays the location of the yarn bin folder
yarn global binList installed packages
yarn global listRemove a package
yarn global removeUpgrade packages
yarn global upgradeUpgrade Interactively
Similar to upgrade command, but display the outdated packages before performing any upgrade, allowing the user to select which packages to upgrade.
yarn global upgrade-interactiveLast updated
Was this helpful?