docs(readme): update installation instructions

This commit is contained in:
Zoltan Kochan
2021-04-05 02:19:47 +03:00
parent 3a0c77de6e
commit 65cbda1784

View File

@@ -40,6 +40,20 @@ why it works fine with the Node.js ecosystem, read this small article: [Flat nod
## Installation
On macOS, Linux, or Windows Subsystem for Linux:
```
curl -f https://get.pnpm.io/v6.js | node - add --global pnpm
```
On Windows (using PowerShell):
```
(Invoke-WebRequest 'https://get.pnpm.io/v6.js' -UseBasicParsing).Content | node - add --global pnpm
```
Using npm:
```
npm install -g pnpm
```