npm-completion v2.0.6
npm-completion
npm and yarn completion including package names for bash and zsh
this script will list/complete package names for remove, update and install commands.
when there are multiple options it will list them.
when theres only one possible option it will complete it.
![npm.io npm install npm-comp[tab] #output #npm-compact npm-compat npm-completion npm-comp-stat-www npm install npm-compl[tab] #result #npm install npm-completion](https://raw.githubusercontent.com/Jephuff/npm-completion/master/example.gif)
install will look at all package names on npm. Remove and update will look at locally installed packages(if -g is in the command, it will look at global packages).
package list updated at 3am ET everyday so it's recommended that you run the update command periodically.
npm-completion-updateSETUP
manually
install
$ git clone https://github.com/Jephuff/npm-completion
$ ./npm-completion/setupupdate
$ ./npm-completion/updatenpm
install
$ npm i -g npm-completionif you use sudo to install, you will need to run the setup script manually
$ npm-completion-setupupdate
$ npm-completion-updatewindows users
you will need to download the windows version
$ npm i -g npm-completion@windows
$ npm-completion-setupOptions
set INCLUDE_YARN_COMPLETION to false in your .bashrc above the npm-completion lines to exclude yarn completion
INCLUDE_YARN_COMPLETION=false
# added for npm-completion https://github.com/Jephuff/npm-bash-completion5 years ago
7 years ago
7 years ago
7 years ago
9 years ago
9 years ago
9 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago