Answers for "npm install yarn equivalent"

9

npm install yarn equivalent

npm install 'pckg-name'   -> yarn add 'pckg-name'
npm uninstall 'pckg-name' -> yarn remove 'pckg-name'
npm run 'your-script'     -> yarn run 'your-script'
npm init 				  -> yarn init
npm install 			  -> yarn OR yarn install

## In yarn flags like: --save-dev --save are used the same way
Posted by: Guest on February-08-2021
0

yarn add --save-exact

yarn add <package...> [--exact/-E]
Posted by: Guest on June-17-2020

Code answers related to "Shell/Bash"

Browse Popular Code Answers by Language