Skip to content

Instantly share code, notes, and snippets.

@vicradon
Last active June 18, 2024 15:11
Show Gist options
  • Save vicradon/46d4a0f8b6e051d3f22c68590f0f4514 to your computer and use it in GitHub Desktop.
Save vicradon/46d4a0f8b6e051d3f22c68590f0f4514 to your computer and use it in GitHub Desktop.
Use VSCode on browser from VM

Use VSCode on browser from a virtual machine

You simply have to install vscode's code CLI on the virtual machine. Use this command:

curl -Lk 'https://code.visualstudio.com/sha/download?build=stable&os=cli-alpine-x64' --output vscode_cli.tar.gz
tar -xf vscode_cli.tar.gz
cd vscode_cli
./code tunnel

If you already have the CLI, simply run code tunnel

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