Install all packages
1
yarn
Install packages individually
1
2
3
4
yarn add [package]
yarn add [package]@[version] # Install a specific version
yarn add -D [package] # Adding to devDependencies
yarn global add [package] # Add global
Update package
1
2
yarn upgrade [package]
yarn upgrade [package]@[version]
Delete Package
1
yarn remove [package]
Show package list
1
yarn list