Skip to content

devvm code

Open this folder’s VM in VS Code over Remote-SSH

Synopsis

Get this folder’s VM ready as devvm host does, then open its folder in VS Code over Remote-SSH, with VS Code’s code command.

devvm code [flags]

Examples

  devvm code               # open this folder's VM in VS Code
  devvm code --ssh-config  # the same, adding devvm's Include line to ~/.ssh/config without asking

Options

  -h, --help         help for code
      --here         use this folder's own VM, never that of a folder it's inside
      --parent       use the VM of the nearest folder this one is inside, even across a git repo of its own
      --ssh-config   add devvm's Include line to ~/.ssh/config without asking

Options inherited from parent commands

      --no-input   never ask, and fail where devvm would ask, naming the flag that answers it
  -v, --verbose    show the output of the commands devvm runs instead of a status line

Docs

The docs page for devvm code explains it in full.

See also

  • devvm: Open a shell in this folder’s VM, creating it first
Last updated on