NPM commands and their aliases
I want to provide a quick reference resource guide to NPM aliases. This outline-style README provides an overview of NPM commands that have aliases, don't have aliases, and links to the official NPM documentation for all the other NPM commands that aren't deprecated.
npm install chalk
alias
npm i chalk
npm test
alias
npm t
or
npm tst
npm config edit
alias
npm c edit
npm install-ci-test
alias
npm cit
npm install-test
alias
npm it
npm rebuild
alias
npm rb
cd ~/projects/node-redis # go into the package directory
npm link # creates global link
cd ~/projects/node-bloggy # go into some other package directory.
npm link redis # link-install the package
alias
npm ln ...
npm run-script lint
alias
npm run lint
npm search ...
alias
npm s ...
or
npm se ...
or
npm find ...
npm uninstall chalk
alias
npm rm chalk
or
npm r chalk
or
npm remove chalk
or
npm un chalk
or
npm unlink chalk
npm update
alias
npm up
or
npm upgrade
npm version
alias
npm -v
or
npm --version
npm view
alias
npm v
or
npm info
or
npm show
npm adduser --registry=http://myregistry.example.com --scope=@myco
alias
npm add-user ...
or
npm login ...
npm bugs chalk
alias
npm issues chalk
npm cache clean
alias
npm cache rm
or
npm cache clear
npm dedupe
alias
npm ddp
or
npm find-dupes
npm dist-tag add chalk@1.0.0 sometag
alias
npm dist-tags
npm ls
alias
npm list
or
npm la
or
npm ll
npm owner add bobdole @angular/cli
npm author ...
npm docs ...
npm home ...
- access
- audit
- bin
- build
- ci
- completion
- deprecate
- doctor
- edit
- explore
- help-search
- help
- hook
- init
- logout
- npm
- outdated
- pack
- ping
- prefix
- publish
- repo
- restart
- root
- shrinkwrap
- star
- stars
- start
- stop
- team
- token
- unpublish
- whoami
npmias was inspired by @styfle!