Skip to content

Commit 782ddd5

Browse files
committed
download: fix nvm instructions
Fixes #7433
1 parent 70f5a9f commit 782ddd5

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

apps/site/snippets/en/download/nvm.bash

+3
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,9 @@ curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.40.1/install.sh | bash
44
# Download and install Node.js:
55
nvm install ${props.release.major}
66

7+
# activate nvm (in lieu of restarting the shell)
8+
\. "${HOME}/.nvm/nvm.sh"
9+
710
# Verify the Node.js version:
811
node -v # Should print "${props.release.versionWithPrefix}".
912
nvm current # Should print "${props.release.versionWithPrefix}".

0 commit comments

Comments
 (0)