Rename nvm to 99-nvm to run after zsh

This commit is contained in:
Fabricio Silva
2022-05-19 08:18:29 +01:00
parent 62159ace39
commit 2f84bade15
+16
View File
@@ -0,0 +1,16 @@
#!/usr/bin/with-contenv bash
NVM_DIR="$HOME/.nvm"
echo "**** installing nvm ****"
if [ ! -s "$NVM_DIR/nvm.sh" ]; then
curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/master/install.sh | bash
echo "**** loading nvm ****"
source "$NVM_DIR/nvm.sh"
echo "**** installing the latest release ****"
nvm install node
else
echo "**** nvm already installed, skipping ****"
fi