Last active
August 16, 2021 22:29
-
-
Save dzuluaga/b3b18a98c2ba9c326c3e6680301b26b8 to your computer and use it in GitHub Desktop.
install ngrok in GCP Cloud Shell in a single shot.
This file contains hidden or 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
#!/usr/bin/env bash | |
# Installs ngrok on GCP Cloud Shell in a single command | |
# Run this script directly from the command line | |
# | |
# $ curl "https://gist.githubusercontent.com/dzuluaga/b3b18a98c2ba9c326c3e6680301b26b8/raw/install-ngrok-gcp-cloud-shell.sh?$(date +%s)" | sudo bash | |
echo 'Downloading ngrok...' | |
curl https://bin.equinox.io/c/4VmDzA7iaHb/ngrok-stable-linux-amd64.zip -o ngrok-stable-linux-amd64.zip | |
echo 'Unzipping ngrok...' | |
sudo unzip -o ngrok-stable-linux-amd64.zip | |
echo 'Start ngrok by running this command...' | |
echo './ngrok http 8080' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment