🧶
Yarn Commands
Fast, reliable package manager for JavaScript
24 commands found
/ to searchEscto clear
yarn install
Install all dependencies from package.json
yarn installyarn add
Add a package to dependencies
yarn add expressyarn remove
Remove a package
yarn remove expressyarn upgrade
Upgrade packages to latest version
yarn upgradeyarn run
Run script defined in package.json
yarn run devyarn global
Manage global packages
yarn global add package-nameyarn cache
Manage yarn cache
yarn cache cleanyarn why
Show why a package is installed
yarn why package-nameyarn init
Create a package.json file
yarn inityarn outdated
Check for outdated packages
yarn outdatedyarn upgrade-interactive
Interactively upgrade packages
yarn upgrade-interactiveyarn link
Create symlink for local development
yarn linkyarn workspaces
Manage monorepo workspaces
yarn workspaces infoyarn check
Verify package dependencies
yarn checkyarn config
Manage yarn configuration
yarn config set <key> <value>yarn info
Show information about a package
yarn info reactyarn policies
Manage Yarn policies and releases
yarn policies set-versionyarn autoclean
Clean and remove unnecessary files from dependencies
yarn autoclean --inityarn import
Generate yarn.lock from package-lock.json
yarn importyarn licenses
List licenses of installed packages
yarn licenses listyarn pack
Create a compressed archive of package
yarn packyarn unlink
Unlink a previously linked package
yarn unlink my-packageyarn version
Update package version
yarn version --patchyarn dlx
Run a package binary without installing (like npx)
yarn dlx create-react-app my-app