Difference between revisions of "Node Package Manager (npm)"
Jump to navigation
Jump to search
↑ https://blog.npmjs.org/post/171556855892/introducing-npm-ci-for-faster-more-reliable
↑ https://www.jfrog.com/confluence/display/RTF/Release+Notes#ReleaseNotes-Artifactory6.10
(29 intermediate revisions by 5 users not shown) | |||
Line 1: | Line 1: | ||
− | [[wikipedia:npm (software)]] ([[2010]]) is a [[package manager]] for [[JavaScript]] | + | [[wikipedia:npm (software)]] ([[2010]]) is a [[package manager]] for [[JavaScript]] |
+ | * https://github.com/npm | ||
+ | * Installation: <code>[[brew install npm]]</code> | ||
− | + | == Commands == | |
− | * <code>[[npm -- | + | * <code>[[npm help]]</code> |
− | * [[npm -v]] | + | * <code>[[npm --version]]</code> |
+ | * <code>[[npm -v]]</code> | ||
+ | * <code>[[npm exec]]</code> | ||
* <code>[[npm run]]</code> | * <code>[[npm run]]</code> | ||
+ | * <code>[[npm run build]]</code> | ||
+ | * <code>[[npm run-script]]</code> | ||
+ | * <code>[[npm test]]</code> | ||
* <code>[[npm start]]</code> | * <code>[[npm start]]</code> | ||
* <code>[[npm init]]</code> | * <code>[[npm init]]</code> | ||
Line 12: | Line 19: | ||
* <code>npm install body-parser --save</code> | * <code>npm install body-parser --save</code> | ||
* <code>[[npm ci]]</code><ref>https://blog.npmjs.org/post/171556855892/introducing-npm-ci-for-faster-more-reliable</ref> | * <code>[[npm ci]]</code><ref>https://blog.npmjs.org/post/171556855892/introducing-npm-ci-for-faster-more-reliable</ref> | ||
− | * <code>npm update</code> | + | * <code>[[npm update]]</code> |
* <code>[[npm link]]</code> | * <code>[[npm link]]</code> | ||
+ | * <code>[[npm list]]</code> | ||
+ | * <code>[[npm login]]</code> | ||
+ | |||
+ | [[npm cache clean]] --force | ||
+ | [[npm publish]] | ||
− | |||
* [[JFrog Artifactory 6.10]] May 6, 2019 <ref>https://www.jfrog.com/confluence/display/RTF/Release+Notes#ReleaseNotes-Artifactory6.10</ref> supports <code>[[npm audit]]</code> | * [[JFrog Artifactory 6.10]] May 6, 2019 <ref>https://www.jfrog.com/confluence/display/RTF/Release+Notes#ReleaseNotes-Artifactory6.10</ref> supports <code>[[npm audit]]</code> | ||
* Installation: <code>[[apt install npm]]</code> | * Installation: <code>[[apt install npm]]</code> | ||
+ | |||
+ | == Packages == | ||
+ | * <code>[[set-value]]</code> | ||
+ | |||
+ | == Related == | ||
+ | * <code>[[sequelize-transparent-cache]]</code> | ||
+ | * <code>[[yarn]]</code> | ||
+ | * <code>[[.npmrc]]</code> | ||
+ | * <code>[[nvm]]</code> | ||
+ | * <code>[[pnpm]]</code> | ||
== See also == | == See also == | ||
* {{npm}} | * {{npm}} | ||
− | * {{js}} | + | * {{npm errors}} |
+ | * {{Node.js}} | ||
* {{package managers}} | * {{package managers}} | ||
[[Category:JavaScript]] | [[Category:JavaScript]] | ||
[[Category:Package managers]] | [[Category:Package managers]] |
Latest revision as of 15:48, 18 February 2024
wikipedia:npm (software) (2010) is a package manager for JavaScript
- https://github.com/npm
- Installation:
brew install npm
Contents
Commands[edit]
npm help
npm --version
npm -v
npm exec
npm run
npm run build
npm run-script
npm test
npm start
npm init
npm audit
(See also: Software Composition Analysis (SCA))npm install --save express
(Express is a minimalist web framework forNode.js
)npm install ejs --save
(EJS is a templating language)npm install body-parser --save
npm ci
[1]npm update
npm link
npm list
npm login
npm cache clean --force npm publish
- JFrog Artifactory 6.10 May 6, 2019 [2] supports
npm audit
- Installation:
apt install npm
Packages[edit]
Related[edit]
See also[edit]
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!npm ERR! code, npm ERR!, E401
- Node.js, JavaScript runtime, Deno, nock, next.js, express.js, electron, Nest.js, nvm,
package.json
, Webpack,node -r
,npm, nvm, node-gyp
, Node.js modules, Fastify, PM2, UnhandledPromiseRejectionWarning, node-inspector, Puppeteer, Node-config, Node-RED - Package managers: dpkg, APT, RPM, YUM, DNF, homebrew, pkgutil, opkg, Helm, pkg and snap, npm, Aptitude, alien, Conan, CRAN, Chocolatey, NuGet, PackageKit, Wajig, pacman, PIP, Apache Ivy, List packages, List files in packages, Spack
Advertising: