Skip to content

Commit e376b84

Browse files
authored
meta: ensure alphas can be installed by newest nvm (#9316)
1 parent d108eb5 commit e376b84

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,4 +5,4 @@ curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.41.0/install.sh | bash
55
\. "$HOME/.nvm/nvm.sh"
66

77
# Download and install Node.js:
8-
nvm install ${props.release.major}
8+
nvm install ${props.release.status === 'Alpha' ? '--only=alpha ' : ''}${props.release.major}

0 commit comments

Comments
 (0)