deno_install
deno_install copied to clipboard
curl -fsSL https://deno.land/install.sh | sh dont work in ubuntu WSL2
when i run curl -fsSL https://deno.land/install.sh | sh give me this error: mkdir: cannot create directory ‘/Users’: Permission denied
@dsherret can you reproduce this?
Nope.
$ curl -fsSL https://deno.land/install.sh | sh
######################################################################## 100.0%
Archive: /home/david/.deno/bin/deno.zip
inflating: /home/david/.deno/bin/deno
Deno was installed successfully to /home/david/.deno/bin/deno
Run 'deno --help' to get started
@ricky900 what does the output look like when you run?
$ echo $HOME
/home/david
$ echo $DENO_INSTALL
/home/david/.deno
Seems like for some reason on your system it's going to /Users
Look in your zshrc or bashrc and make sure you don't have wrong path for any DENO* variables. I had one and I got permission denied.
My guess is you copied your mac environment to ubuntu.