mirror of
https://github.com/HeyPuter/puter.git
synced 2026-05-03 16:10:31 +00:00
Add shell reload instructions for nvm setup (#2446)
Added instructions to reload the shell after loading nvm. i forgot to add it because i am stupid
This commit is contained in:
+10
@@ -34,6 +34,9 @@ curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.40.4/install.sh | bash
|
||||
export NVM_DIR="$HOME/.nvm"
|
||||
[ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh"
|
||||
|
||||
# Reload shell
|
||||
source ~/.bashrc # Or source ~/.zshrc if using Zsh
|
||||
|
||||
# Install latest Node.js and npm
|
||||
nvm install node
|
||||
|
||||
@@ -53,10 +56,14 @@ sudo yum install -y curl
|
||||
# Install nvm
|
||||
curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.40.4/install.sh | bash
|
||||
|
||||
|
||||
# Load nvm
|
||||
export NVM_DIR="$HOME/.nvm"
|
||||
[ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh"
|
||||
|
||||
# Reload shell
|
||||
source ~/.bashrc # Or source ~/.zshrc if using Zsh
|
||||
|
||||
# Install latest Node.js and npm
|
||||
nvm install node
|
||||
|
||||
@@ -113,6 +120,9 @@ curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.40.4/install.sh | bash
|
||||
export NVM_DIR="$HOME/.nvm"
|
||||
[ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh"
|
||||
|
||||
# Reload shell
|
||||
source ~/.bashrc # Or source ~/.zshrc if using Zsh
|
||||
|
||||
# Install latest Node.js and npm
|
||||
nvm install node
|
||||
|
||||
|
||||
Reference in New Issue
Block a user