Skip to main content

Quickstart DevPod CLI

Quickstart with DevPod CLI​

Make sure you have installed DevPod CLI on your system.

Add a Provider​

You can add a provider via (local-docker for example):

devpod provider add docker
Other providers

For more providers, please take a look at Add a DevPod Provider

Start a Workspace​

Afterwards you can start a workspace via:

# Start in VS Code browser
devpod up github.com/microsoft/vscode-remote-try-node --ide openvscode

# Start in VS Code
devpod up github.com/microsoft/vscode-remote-try-node --ide vscode

# Start without IDE
devpod up github.com/microsoft/vscode-remote-try-node --ide none

If you have selected an IDE it should popup automatically. If not, you can connect to the workspace manually:

ssh MY_WORKSPACE_NAME.devpod

Everyday commands​

devpod list                                    # your workspaces
devpod status vscode-remote-try-node # is it running?
devpod ssh vscode-remote-try-node # a shell in it
devpod stop vscode-remote-try-node # stop it, keeping its state
devpod up vscode-remote-try-node # start it again
devpod delete vscode-remote-try-node # remove it

See Everyday Commands for more, including how to run an AI agent in a workspace unattended.