Skip to content

Instantly share code, notes, and snippets.

@lukasholzer
Created August 26, 2020 08:42
Show Gist options
  • Save lukasholzer/03d1f245020ee64d577ea40b6d11c3d7 to your computer and use it in GitHub Desktop.
Save lukasholzer/03d1f245020ee64d577ea40b6d11c3d7 to your computer and use it in GitHub Desktop.
Setup Bazel on an AWS ec2 instance
#!/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
@praneethreddymallupally

Thanks

@Manojbhat09
Copy link

Useful! Thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment