Created
August 26, 2020 08:42
-
-
Save lukasholzer/03d1f245020ee64d577ea40b6d11c3d7 to your computer and use it in GitHub Desktop.
Setup Bazel on an AWS ec2 instance
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# The script should immediately exit if any command in the script fails. | |
set -e | |
curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.34.0/install.sh | bash | |
. ~/.nvm/nvm.sh | |
nvm install node | |
nvm use default | |
# install bazelisk | |
npm i -g @bazel/bazelisk | |
echo "Installed Versions:" | |
bazel version | |
npm -v | |
node -v |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Thanks