You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
However, if you then create a new user and su into that user, these variables are passed along to the new session.
So if you then try to install Deno as a specific user, it will complain:
It took me quite some time to realise that this was caused by the previously set $DENO_INSTALL variable. I tried to find documentation on installing deno as non-root both in these issues and on https://deno.land/manual but couldn't find anything.
Only after installing on a fresh Linux setup as non-root, without installing as root first, did I realise what was happening.
I think the best place to document this is to make the install script would warn you that $DENO_INSTALL is already set and that you can change it if you wish to install in another location. But otherwise the readme or https://deno.land/manual could also work.
The text was updated successfully, but these errors were encountered:
When installing Deno as root (on Ubuntu in my case) you are prompted to add the following to
$HOME/.bashrc
:However, if you then create a new user and
su
into that user, these variables are passed along to the new session.So if you then try to install Deno as a specific user, it will complain:
It took me quite some time to realise that this was caused by the previously set
$DENO_INSTALL
variable. I tried to find documentation on installing deno as non-root both in these issues and on https://deno.land/manual but couldn't find anything.Only after installing on a fresh Linux setup as non-root, without installing as root first, did I realise what was happening.
I think the best place to document this is to make the install script would warn you that
$DENO_INSTALL
is already set and that you can change it if you wish to install in another location. But otherwise the readme or https://deno.land/manual could also work.The text was updated successfully, but these errors were encountered: