Skip to content

Commit

Permalink
node version 10.x => 12.x
Browse files Browse the repository at this point in the history
  • Loading branch information
seeden authored and hoffmang9 committed Apr 26, 2021
1 parent 1f16bca commit c8a7cb4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions install-gui.sh
Original file line number Diff line number Diff line change
Expand Up @@ -21,12 +21,12 @@ if [ "$(uname)" = "Linux" ]; then
elif type yum && [ ! -f "/etc/redhat-release" ] && [ ! -f "/etc/centos-release" ]; then
# AMZN 2
echo "Installing on Amazon Linux 2"
curl -sL https://rpm.nodesource.com/setup_10.x | sudo bash -
curl -sL https://rpm.nodesource.com/setup_12.x | sudo bash -
sudo yum install -y nodejs
elif type yum && [ -f /etc/redhat-release ] || [ -f /etc/centos-release ]; then
# CentOS or Redhat
echo "Installing on CentOS/Redhat"
curl -sL https://rpm.nodesource.com/setup_10.x | sudo bash -
curl -sL https://rpm.nodesource.com/setup_12.x | sudo bash -
sudo yum install -y nodejs
fi
elif [ "$(uname)" = "Darwin" ] && type brew && ! npm version >/dev/null 2>&1; then
Expand Down

0 comments on commit c8a7cb4

Please sign in to comment.