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 14: | Line 14: | ||
* <code>npm install [[electron]]</code> | * <code>npm install [[electron]]</code> | ||
* <code>[[npm install axios]]</code> | * <code>[[npm install axios]]</code> | ||
− | |||
* <code>npm install [[express-oauth-server]]</code> | * <code>npm install [[express-oauth-server]]</code> | ||
* <code>[[npm install -g]] [[wip]]</code> | * <code>[[npm install -g]] [[wip]]</code> | ||
* <code>[[npm install -g]] typescript</code> | * <code>[[npm install -g]] typescript</code> | ||
* <code>[[npm install --global yarn]]</code> | * <code>[[npm install --global yarn]]</code> | ||
− | |||
* <code>[[npm install --save set-value]]</code> | * <code>[[npm install --save set-value]]</code> | ||
* <code>[[npm install --save jaeger-client]]</code> | * <code>[[npm install --save jaeger-client]]</code> | ||
* <code>[[npm install --save sequelize]]</code> | * <code>[[npm install --save sequelize]]</code> | ||
* <code>[[npm]] install [[detox]]</code> | * <code>[[npm]] install [[detox]]</code> | ||
− | |||
− | |||
* <code>[[npm install --only=production]]</code> | * <code>[[npm install --only=production]]</code> | ||
* <code>sudo npm install -g @sentry/cli [[--unsafe-perm]]</code> | * <code>sudo npm install -g @sentry/cli [[--unsafe-perm]]</code> | ||
* <code>npm i -g [[npm@7]]</code> | * <code>npm i -g [[npm@7]]</code> | ||
− | |||
* <code>[[npm install --no-audit]]</code> | * <code>[[npm install --no-audit]]</code> | ||
* <code>[[npm install node-addon-api]]</code> | * <code>[[npm install node-addon-api]]</code> | ||
− | |||
* [[Npm scoped packages]] (<code>@</code>) | * [[Npm scoped packages]] (<code>@</code>) | ||
+ | ** <code>npm install @[[semantic-release]]/gitlab -D</code> | ||
+ | ** <code>[[npm install -g]] @[[loopback]]/cli</code> | ||
+ | ** <code>[[npm install @sentry/cli]]</code> | ||
+ | ** <code>[[npm install -g @sentry/cli@2]]</code> | ||
+ | ** <code>[[npm install -g @sentry/cli@2]]</code> | ||
+ | ** <code>[[npm install -g @aws-amplify/cli]]</code> | ||
+ | ** <code>[[npm install --global cdktf-cli@latest]]</code> | ||
Revision as of 11:32, 24 November 2022
Install
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 axios
npm install express-oauth-server
npm install -g wip
npm install -g typescript
npm install --global yarn
npm install --save set-value
npm install --save jaeger-client
npm install --save sequelize
npm install detox
npm install --only=production
sudo npm install -g @sentry/cli --unsafe-perm
npm i -g npm@7
npm install --no-audit
npm install node-addon-api
[-g|--global]
Related commands
- Clean install:
npm ci
[1][2] npm run build
yarn install
npm list
brew install npm
vsts-npm-auth -config .npmrc
npm ERR! code E401 Incorrect or missing password
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: