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 49: | Line 49: | ||
* <code>[[npm ERR! code E401 Incorrect or missing password]]</code> | * <code>[[npm ERR! code E401 Incorrect or missing password]]</code> | ||
− | == Related | + | == Related == |
* Clean install: <code>[[npm ci]]</code><ref>https://blog.npmjs.org/post/171556855892/introducing-npm-ci-for-faster-more-reliable</ref><ref>https://docs.npmjs.com/cli/v8/commands/npm-ci</ref> | * Clean install: <code>[[npm ci]]</code><ref>https://blog.npmjs.org/post/171556855892/introducing-npm-ci-for-faster-more-reliable</ref><ref>https://docs.npmjs.com/cli/v8/commands/npm-ci</ref> | ||
* <code>[[npm run build]]</code> | * <code>[[npm run build]]</code> | ||
Line 56: | Line 56: | ||
* <code>[[brew install npm]]</code> | * <code>[[brew install npm]]</code> | ||
* <code>[[vsts-npm-auth -config .npmrc]]</code> | * <code>[[vsts-npm-auth -config .npmrc]]</code> | ||
− | * [[package | + | * [[package.json]] |
== See also == | == See also == |
Revision as of 11:04, 8 February 2024
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 config
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
npm install --no-audit
npm install node-addon-api
npm install env-type
npm install react-app-rewired --save-dev
- Npm scoped packages (
@
)npm install @semantic-release/gitlab -D
npm install -g @loopback/cli
npm install @sentry/cli
npm install -g @sentry/cli@2
npm install -g @sentry/cli@2
npm install -g @aws-amplify/cli
npm install --global cdktf-cli@latest
sudo npm install -g @sentry/cli --unsafe-perm
npm install @google-cloud/trace-agent
npm i -g npm@7
npm i @sharemint/sdk
[-g|--global]
Errors
Related
- Clean install:
npm ci
[1][2] npm run build
yarn install
npm list
brew install npm
vsts-npm-auth -config .npmrc
- package.json
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: