Skip to content

Instantly share code, notes, and snippets.

@textarcana
Last active January 16, 2026 22:49
Show Gist options
  • Select an option

  • Save textarcana/247ae457f727774d699c93942cb01731 to your computer and use it in GitHub Desktop.

Select an option

Save textarcana/247ae457f727774d699c93942cb01731 to your computer and use it in GitHub Desktop.
Enable gcloud on WSL (Ubuntu) - use the windows executable for gcloud from within the WSL. Put this in .bashrc
gcloud() {
(cd /mnt/c && cmd.exe /c gcloud "$@")
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment