Skip to content

Instantly share code, notes, and snippets.

@dzuluaga
Last active August 16, 2021 22:28
Show Gist options
  • Save dzuluaga/b9428ea1a1d1a3fb831c53cbf39316dd to your computer and use it in GitHub Desktop.
Save dzuluaga/b9428ea1a1d1a3fb831c53cbf39316dd to your computer and use it in GitHub Desktop.
Runs localtunnel on GCP Cloud Shell in a single command.
#!/usr/bin/env bash
# Runs localtunnel on GCP Cloud Shell in a single command.
# Run this script directly from the command line
#
# $ curl "https://gist.githubusercontent.com/dzuluaga/b9428ea1a1d1a3fb831c53cbf39316dd/raw/run-localtunnel-gcp-cloud-shell.sh?$(date +%s)" | bash
echo "Installing zsh..."
echo ""
npm install -g localtunnel
echo
echo 'run $ lt --port 8080 --subdomain your-subdomain-here'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment