Skip to content

PowerShell-Completion/npm-completion

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

37 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

posh-npm-completion

license PowerShell Gallery PowerShell Gallery

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