mirror of
https://github.com/robbyrussell/oh-my-zsh.git
synced 2025-12-10 01:10:41 +01:00
feat(npm): add alias for npm i -f (#8454)
As documented in the README, `npm i -f` forces npm to install the specified packages from a remote package registry, even if local copies exist on disk caches.
This commit is contained in:
@@ -15,6 +15,7 @@ plugins=(... npm)
|
||||
| `npmg` | `npm i -g` | Install dependencies globally |
|
||||
| `npmS` | `npm i -S` | Install and save to dependencies in your package.json |
|
||||
| `npmD` | `npm i -D` | Install and save to dev-dependencies in your package.json |
|
||||
| `npmF` | `npm i -f` | Force install from remote registries ignoring local cache |
|
||||
| `npmE` | `PATH="$(npm bin)":"$PATH"` | Run command from node_modules folder based on current directory |
|
||||
| `npmO` | `npm outdated` | Check which npm modules are outdated |
|
||||
| `npmV` | `npm -v` | Check package versions |
|
||||
|
||||
Reference in New Issue
Block a user