Skip to content

Commit

Permalink
fix: update condition to check and install nvm
Browse files Browse the repository at this point in the history
  • Loading branch information
tanhongit committed Jun 11, 2024
1 parent 5670395 commit 2b85462
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions macos/develop/packages/nvm.sh
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
#!/bin/bash

# Install nvm
curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.4/install.sh | bash
nvm install --lts
if [ ! -s "$HOME/.nvm/nvm.sh" ]; then
curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.4/install.sh | bash
nvm install --lts
fi

0 comments on commit 2b85462

Please sign in to comment.