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
(13 intermediate revisions by 4 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 help]]</code> | * <code>[[npm help]]</code> | ||
− | * <code>[[npm -- | + | * <code>[[npm --version]]</code> |
* <code>[[npm -v]]</code> | * <code>[[npm -v]]</code> | ||
* <code>[[npm exec]]</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 test]]</code> | ||
− | |||
* <code>[[npm start]]</code> | * <code>[[npm start]]</code> | ||
* <code>[[npm init]]</code> | * <code>[[npm init]]</code> | ||
Line 18: | Line 22: | ||
* <code>[[npm link]]</code> | * <code>[[npm link]]</code> | ||
* <code>[[npm list]]</code> | * <code>[[npm list]]</code> | ||
+ | * <code>[[npm login]]</code> | ||
[[npm cache clean]] --force | [[npm cache clean]] --force | ||
Line 31: | Line 36: | ||
== Related == | == Related == | ||
− | * [[sequelize-transparent-cache]] | + | * <code>[[sequelize-transparent-cache]]</code> |
* <code>[[yarn]]</code> | * <code>[[yarn]]</code> | ||
− | * [[.npmrc]] | + | * <code>[[.npmrc]]</code> |
+ | * <code>[[nvm]]</code> | ||
+ | * <code>[[pnpm]]</code> | ||
== See also == | == See also == | ||
* {{npm}} | * {{npm}} | ||
+ | * {{npm errors}} | ||
* {{Node.js}} | * {{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: