Skip to content

Commit 7fc032f

Browse files
committedMar 16, 2018
📝 Update readme
1 parent 1ad1a72 commit 7fc032f

File tree

1 file changed

+41
-2
lines changed

1 file changed

+41
-2
lines changed
 

‎README.md

+41-2
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,43 @@
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+
```

0 commit comments

Comments
 (0)
Please sign in to comment.