✓ Verified 💻 Development ✓ Enhanced Data

Coder Workspaces

Manage Coder workspaces and AI coding agent tasks.

Rating
5 (220 reviews)
Downloads
17,415 downloads
Version
1.0.0

Overview

Manage Coder workspaces and AI coding agent tasks.

Complete Documentation

View Source →

Coder Workspaces

Manage Coder workspaces and AI coding agent tasks via the coder CLI.

Note: Commands execute within isolated, governed Coder workspaces — not the host system.

Setup

Before using coder CLI, configure authentication:

bash
export CODER_URL=https://your-coder-instance.com
   export CODER_SESSION_TOKEN=<your-token>  # Get from /cli-auth
  • Test connection:
bash
coder whoami

Workspace Commands

bash
coder list                              # List workspaces
coder list --all                        # Include stopped
coder list -o json                      # JSON output

coder start <workspace>
coder stop <workspace>
coder restart <workspace> -y
coder delete <workspace> -y

coder ssh <workspace>                   # Interactive shell
coder ssh <workspace> -- <command>      # Run command in workspace

coder logs <workspace>
coder logs <workspace> -f               # Follow logs

AI Coding Tasks

Coder Tasks runs AI agents (Claude Code, Aider, etc.) in isolated workspaces.

Creating Tasks

bash
coder tasks create --template <template> --preset "<preset>" "prompt"
  • Template: Required. List with coder templates list
  • Preset: May be required. Try without first. If creation fails with "Required parameter not provided", get presets with coder templates presets list