Coder has open-sourced a new remote development platform šŸ„³ Check it out at coder/coder on GitHub.

Workspace management

List all of your workspaces

$ coder workspaces ls
Name    ImageTag    CPUCores    MemoryGB    DiskGB    GPUs    Updating    Status
cdev    latest      8           12          96        0       false       ON
site    ubuntu      1           1           10        0       false       ON
dev     latest      8           16          64        0       false       OFF
denv    latest      8           16          80        0       false       OFF

Rebuild a workspace

$ coder workspaces rebuild my-workspace --follow
Rebuild workspace "my-workspace"? (will destroy any work outside of /home): yā–ˆ
āœ… -- 2020-12-20T02:43:44Z Deleting old workspace
āœ… -- 2020-12-20T02:43:44Z Deleting old network isolation policy
āœ… -- 2020-12-20T02:43:44Z Deleting old service

Stop all of your workspaces

$ coder workspaces ls -o json | jq -r .[].name | xargs coder workspaces stop
success: successfully stopped workspace "site"

Was this page helpful? Share your experience with us.


See an opportunity to improve our docs? Make an edit.