Skip to content

Commit

Permalink
fix npm -> nvm
Browse files Browse the repository at this point in the history
  • Loading branch information
alifeee authored Jan 28, 2025
1 parent 4b2b35f commit 8f93463
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ export NVM_DIR=/usr/alifeee/.nvm
curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.40.1/install.sh | bash
# install npm version you want
nvm install 20
npm use 20
nvm use 20
```

Then, I can use `nvm` because it's sourced in my `~/.bashrc` (as before), but importantly, any user can use `npm` and Node by running:
Expand Down

0 comments on commit 8f93463

Please sign in to comment.