File tree Expand file tree Collapse file tree 1 file changed +41
-2
lines changed Expand file tree Collapse file tree 1 file changed +41
-2
lines changed Original file line number Diff line number Diff line change 1- # posh-npm-completions
1+ # posh-npm-completion
22[ ![ license] ( https://img.shields.io/github/license/gluons/posh-npm-completions.svg?style=flat-square )] ( ./LICENSE )
3+ [ ![ PowerShell Gallery] ( https://img.shields.io/powershellgallery/v/npm-completion.svg?style=flat-square )] ( https://www.powershellgallery.com/packages/npm-completion/ )
4+ [ ![ PowerShell Gallery] ( https://img.shields.io/powershellgallery/dt/npm-completion.svg?style=flat-square )] ( https://www.powershellgallery.com/packages/npm-completion/ )
35
4- A [ npm] ( https://www.npmjs.com/ ) completion for [ PowerShell] ( https://microsoft.com/powershell ) .
6+ A [ npm] ( https://www.npmjs.com/ ) tab completion for [ PowerShell] ( https://microsoft.com/powershell ) .
7+
8+ ## ⚙️ Installation
9+
10+ Install from [ PowerShell Gallery] ( https://www.powershellgallery.com/ )
11+
12+ ``` powershell
13+ Install-Module npm-completion -Scope CurrentUser
14+ ```
15+
16+ ---
17+
18+ ⚠️ If you haven't allowed script execution policy, set your script execution policy to ` RemoteSigned ` or ` Unrestricted ` .
19+
20+ ``` powershell
21+ Set-ExecutionPolicy RemoteSigned -Scope CurrentUser
22+ ```
23+
24+ ## 🛂 Usage
25+
26+ You have to import the module to use ` npm-completion ` .
27+
28+ Add below command into your PowerShell profile.
29+
30+ ``` powershell
31+ Import-Module npm-completion
32+ ```
33+
34+ Then restart your PowerShell.
35+ Now you can use tab completion with ** npm** .
36+
37+ ---
38+
39+ ⚠️ If you don't have PowerShell profile yet, create it with below command!
40+
41+ ``` powershell
42+ New-Item -ItemType File $profile
43+ ```
You can’t perform that action at this time.
0 commit comments