Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 11 additions & 1 deletion install-gui.sh
Original file line number Diff line number Diff line change
Expand Up @@ -163,7 +163,17 @@ elif [ "$(uname)" = "Darwin" ] && type brew >/dev/null 2>&1; then
# MacOS
if ! nodejs_is_installed; then
echo "Installing nodejs on MacOS"
brew install npm
# Download and install nvm:
curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.40.3/install.sh | bash
# in lieu of restarting the shell
# shellcheck source=/dev/null
source "$HOME/.nvm/nvm.sh"
# Download and install Node.js:
nvm install 20
echo "Node version"
node -v
echo "npm version:"
npm -v
fi
do_install_npm_locally
elif [ "$(uname)" = "OpenBSD" ]; then
Expand Down
Loading