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

nvsudo cannot use #214

Closed
Tim-Paik opened this issue Aug 13, 2021 · 1 comment
Closed

nvsudo cannot use #214

Tim-Paik opened this issue Aug 13, 2021 · 1 comment

Comments

@Tim-Paik
Copy link

image

How should I use the nvs use command when installing nvs globally?

@jasongin
Copy link
Owner

The instructions in SETUP.md for a system installation on Mac/Linux are wrong. I'll update those instructions, it should be something like this:

export NVS_HOME="$HOME/.nvs"
sudo git clone https://github.com/jasongin/nvs /opt/nvs
/opt/nvs/nvs install

With a system installation, NVS_HOME must still be set to a user-writable directory, e.g. ~/.nvs, not to the directory containing the nvs script files. NVS_HOME is where the user-specified node versions will be downloaded and cached, and also where that temporary .sh file can be written.

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

2 participants