Difference between revisions of "Npm install"
Jump to navigation
Jump to search
↑ https://blog.npmjs.org/post/171556855892/introducing-npm-ci-for-faster-more-reliable
↑ https://docs.npmjs.com/cli/v8/commands/npm-ci
Line 2: | Line 2: | ||
* https://docs.npmjs.com/cli/v8/commands/npm-install | * https://docs.npmjs.com/cli/v8/commands/npm-install | ||
− | |||
* <code>[[npm install --help]]</code> | * <code>[[npm install --help]]</code> | ||
* <code>[[npm install]]</code> | * <code>[[npm install]]</code> | ||
* <code>[[npm i]]</code> | * <code>[[npm i]]</code> | ||
+ | npm install --registry https://registry.npmjs.org | ||
+ | |||
+ | == Package examples == | ||
* <code>[[npm install -g npm]]</code> | * <code>[[npm install -g npm]]</code> | ||
* <code>[[npm]] install [[express]]</code> or <code>[[npm]] install [[express]] [[--save]]</code> | * <code>[[npm]] install [[express]]</code> or <code>[[npm]] install [[express]] [[--save]]</code> |
Revision as of 05:21, 20 October 2022
npm install --registry https://registry.npmjs.org
Package examples
npm install -g npm
npm install express
ornpm install express --save
npm install electron
npm install @semantic-release/gitlab -D
npm install express-oauth-server
npm install -g wip
npm install -g typescript
npm install --global yarn
npm install -g @loopback/cli
npm install --save set-value
npm install --save jaeger-client
npm install --save sequelize
npm install detox
npm install @sentry/cli
npm install -g @sentry/cli@2
npm install --only=production
sudo npm install -g @sentry/cli --unsafe-perm
npm i -g npm@7
npm install -g @aws-amplify/cli
npm install --no-audit
npm install node-addon-api npm install --global cdktf-cli@latest
[-g|--global]
Related commands
- Clean install:
npm ci
[1][2] npm run build
yarn install
npm list
brew install npm
See also
npm install
:npm install -g npm, brew install npm, npm ci
npm
,npx
,npm [ init
|audit
|install
|link | config | token
|start | publish | run start
|update | rebuild
|ci
|run build
].env/
,list
|ls | --version
,package.json
,$HOME/.npmrc
,npm help
, NPM Registry, npm ERR!
Advertising: