Forked from dzuluaga/install-ngrok-gcp-cloud-shell.sh
Created
August 16, 2021 22:29
-
-
Save rickyo86/8c5f40ade75ef2e52dd06b7cafa7d069 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