I’m trying to install the PNPM package manager on debian/ubuntu, but when I enter the command:
curl -fsSL https://get.pnpm.io/install.sh | sh-
The following error shows up:
bash: sh-: command not found
(23) Failed writing body
Does anyone know how to fix this?
2
Answers
I do not believe -fsSL is a valid option.
Maybe you mean to use one of the following options.
LINK to curl options
I have no idea about the
| sh
What I would suggest is you go to https://curlconverter.com
Paste your curl command into the "curl command" textarea and if there is an error they will point it out for you.
the issue is a missing space in your command between
sh
and the-
.It should look like this: