New
The Gartner Hype Cycle Emerging Technologies Report is out!

Download now

You can access the shell of your Coder workspace from your local computer using the coder ssh command.

Usage

coder ssh <workspace name> [<command [args...]>]

This executes a remote command on the workspace; if no command is specified, the CLI opens up the workspace's default shell.

For example, you can print "Hello World" in your Coder workspace shell as follows:

$ coder ssh my-workspace echo "hello world"
hello world
See an opportunity to improve our docs? Make an edit.