This is a draft, the content is not complete and of poor quality!
package-lock.json). They both use
package.json with the same structure (but with different algorithms).
# Install all packages in package.json
yarn install # or just yarn
# Forcing a re-download of all packages
yarn install --force
# Install only prod dependencies
yarn install --production
# Add a single package
yarn add <package>
yarn add -D <package> # in devDependencies
# Remove a package
yarn remove <package>