From 65cbda178488f201d9743cdc0c905118a0b285cc Mon Sep 17 00:00:00 2001 From: Zoltan Kochan Date: Mon, 5 Apr 2021 02:19:47 +0300 Subject: [PATCH] docs(readme): update installation instructions --- packages/pnpm/README.md | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/packages/pnpm/README.md b/packages/pnpm/README.md index 33f826c41c..d28e2e9fca 100644 --- a/packages/pnpm/README.md +++ b/packages/pnpm/README.md @@ -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 ```