Skip to content

Instantly share code, notes, and snippets.

@Alistair1231
Last active January 22, 2025 20:22
Show Gist options
  • Save Alistair1231/849a9d5600326b15c5477dba991a9848 to your computer and use it in GitHub Desktop.
Save Alistair1231/849a9d5600326b15c5477dba991a9848 to your computer and use it in GitHub Desktop.
vscode remote from cli
# code --folder-uri "vscode-remote://ssh-remote+HOSTNAME/path/to/folder"
# code --file-uri "vscode-remote://ssh-remote+HOSTNAME/path/to/workspace.code-workspace"
# e.g.
code --folder-uri "vscode-remote://ssh-remote+nas/mnt/storage/apps"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment