npm-completion
npm-completion copied to clipboard
A @npm tab completion for @PowerShell.
posh-npm-completion
A npm tab completion for PowerShell.
⚙️ Installation
Install from PowerShell Gallery
Install-Module npm-completion -Scope CurrentUser
⚠️ If you haven't allowed script execution policy, set your script execution policy to RemoteSigned
or Unrestricted
.
Set-ExecutionPolicy RemoteSigned -Scope CurrentUser
🛂 Usage
You have to import the module to use npm-completion
.
Add below command into your PowerShell profile.
Import-Module npm-completion
Then restart your PowerShell.
Now you can use tab completion with npm.
⚠️ If you don't have PowerShell profile yet, create it with below command!
New-Item -ItemType File $profile