Search
 
SCRIPT & CODE EXAMPLE
 

SHELL

npm vs yarn command

Command	npm	yarn

Install dependencies	         	npm install	 					       yarn
Install package	           		npm install [package]				  yarn add [package]
Install dev package			npm install --save-dev [package]  	 	yarn add --dev [package]
Uninstall package			   npm uninstall [package]			  	yarn remove [package]
Uninstall dev package  		npm uninstall --save-dev [package]	     yarn remove [package]
Update							 	npm update						 	yarn upgrade
Update package	 				npm update [package]			     yarn upgrade [package]
Global install package		npm install --global [package]		   yarn global add [package]
Global uninstall package	npm uninstall --global [package]	 yarn global remove [package]
Comment

PREVIOUS NEXT
Code Example
Shell :: rename remote branch in git 
Shell :: sourcetree permission denied (publickey) github mac 
Shell :: checking git settings 
Shell :: git delete all local branches starting with 
Shell :: How to delete multiples files in Github 
Shell :: git remove file from commit 
Shell :: git init command 
Shell :: nvidia proprietary driver arch linux 
Shell :: remove staged files 
Shell :: chown command 
Shell :: download single file from github 
Shell :: laptop slow performance linux ubuntu 
Shell :: create new repository on the command line 
Shell :: github oauth 2 
Shell :: edit text file bash 
Shell :: npm install express 
Shell :: centos 7 ius-release.rpm 
Shell :: cmd unzip windows 
Shell :: instal ng2 order pipe 
Shell :: use a specific version of node 
Shell :: vieuw the MOTD linux 
Shell :: rename github repository command line 
Shell :: expo install package version 
Shell :: CocoaPods could not find compatible versions for pod "razorpay_flutter" when running pod install 
Shell :: expo uninstall 
Shell :: The following directories are not writable by your user: mac 
Shell :: install windows fonts on linux 
Shell :: heroku cli install 
Shell :: bash create symlink to symlinks 
Shell :: docker command to login with user name and pass word 
ADD CONTENT
Topic
Content
Source link
Name
4+6 =