mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2024-11-28 00:30:07 +00:00
1 KiB
1 KiB
The npm Plugin
The npm plugin provides many aliases.
Enable it by adding npm to the plugins array before sourcing OMZ (see Plugins).
Aliases
Alias | Command |
---|---|
npmg | npm i -g |
npmS | npm i -S |
npmD | npm i -D |
npmE | PATH="$(npm bin)":"$PATH" |
npmO | npm outdated |
npmV | npm -v |
npmL | npm list |
npmL0 | npm ls --depth=0 |
npmst | npm start |
npmt | npm test |
npmR | npm run |
npmP | npm publish |
npmI | npm init |