Search
 
SCRIPT & CODE EXAMPLE
 

SHELL

npm dev dependencies

# install as devDependency
npm install <package-name> --save-dev

# install as normal dependency
npm install <package-name> --save

# install all devDependencies listed in package.json
npm install --only=dev

# install all normal dependencies listed in package.json
npm install --only=prod
# or if NODE_ENV is set to production
npm install
Comment

npm install dev dependencies only

npm i -D
Comment

npm install dev dependencies

npm install <package-name> --save-dev
Comment

npm install without dev dependencies

npm install --only=prod
Comment

PREVIOUS NEXT
Code Example
Shell :: tar file linux 
Shell :: curl head request 
Shell :: wkhtmltopdf blocked access to file 
Shell :: minecraft .bat code 
Shell :: Install-Package MailKit 
Shell :: mac install pytorch 3.6 
Shell :: how to install unsigned drivers on windows 10 
Shell :: how to check what default browser in linux 
Shell :: open file in finder from terminal 
Shell :: find bigger file on linux centos 
Shell :: ubuntu server set static ip 
Shell :: sound and video on cards will not function until mpv or mplayer is installed 
Shell :: prettier code formatter is removing ; 
Shell :: increment in bash 
Shell :: renaming heroku remotes 
Shell :: kubernetes shell into pod 
Shell :: brew install macos 
Shell :: set up openssh 
Shell :: how to make a tarball in linux 
Shell :: how to git clone from a specific branch git 
Shell :: install cloudinary storage command 
Shell :: replace using sed 
Shell :: make git use a ssh key 
Shell :: windows print environment variable powershell 
Shell :: linux check if using wayland or x11 
Shell :: how to add proxy to your command line linux 
Shell :: npm morgan install 
Shell :: how to get rid of local git repository 
Shell :: ubuntu make executable 
Shell :: install postman desktop ubuntu 
ADD CONTENT
Topic
Content
Source link
Name
7+2 =