Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

curl -fsSL https://deno.land/install.sh | sh dont work in ubuntu WSL2 #207

Open
ricky900 opened this issue Apr 15, 2022 · 3 comments
Open

Comments

@ricky900
Copy link

ricky900 commented Apr 15, 2022

when i run curl -fsSL https://deno.land/install.sh | sh give me this error:
mkdir: cannot create directory ‘/Users’: Permission denied

@ricky900 ricky900 changed the title curl -fsSL https://deno.land/install.sh | sh dont work curl -fsSL https://deno.land/install.sh | sh dont work in ubuntu WSL2 Apr 15, 2022
@lucacasonato
Copy link
Member

@dsherret can you reproduce this?

@dsherret
Copy link
Member

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

@ralyodio
Copy link

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants