We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3359238 commit 6aa0333Copy full SHA for 6aa0333
.stacks/ensure.sh
@@ -23,6 +23,7 @@ then
23
echo "Node.js version $REQUIRED_NODE_VERSION not found. Installing..."
24
nvm install "$REQUIRED_NODE_VERSION"
25
fi
26
+ nvm use "$REQUIRED_NODE_VERSION"
27
elif [ -f "$HOME/.fnm/fnm" ]; then
28
echo "fnm found. Installing Node.js version $REQUIRED_NODE_VERSION..."
29
fnm install "$REQUIRED_NODE_VERSION"
@@ -31,6 +32,7 @@ then
31
32
curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.0/install.sh | bash
33
. "$HOME/.nvm/nvm.sh"
34
35
36
37
38
0 commit comments