You can access the shell of your Coder workspace from your local computer using
coder ssh command.
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