Complete reference for all Container Use CLI commands and options.
cu
command is an alias for container-use
and can be used interchangeably.
--help
, -h
- Show help for a command--version
- Show version information--debug
- Enable debug outputcontainer-use list
--no-trunc
- Don’t truncate output--quiet
, -q
- Only show environment IDscontainer-use log
--patch
, -p
- Show patch output with diffscontainer-use diff
container-use checkout
--branch
, -b
- Specify branch name to checkoutcontainer-use terminal
container-use merge
--delete
, -d
- Delete environment after successful mergecontainer-use apply
--delete
, -d
- Delete environment after successful applycontainer-use delete
--all
- Delete all environmentscontainer-use watch
container-use config
show [environment-id]
- Display current configurationimport {environment-id}
- Import configuration from an environmentbase-image set {image}
- Set default base imagebase-image get
- Show current base imagebase-image reset
- Reset to default base imagesetup-command add {command}
- Add setup commandsetup-command remove {command}
- Remove setup commandsetup-command list
- List setup commandssetup-command clear
- Clear all setup commandsinstall-command add {command}
- Add install commandinstall-command remove {command}
- Remove install commandinstall-command list
- List install commandsinstall-command clear
- Clear all install commandsenv set {key} {value}
- Set environment variableenv unset {key}
- Unset environment variableenv list
- List environment variablesenv clear
- Clear all environment variablessecret set {key} {value}
- Set secretsecret unset {key}
- Unset secretsecret list
- List secretssecret clear
- Clear all secretsagent [agent]
- Configure MCP server for specific agent (claude, goose, cursor, etc.)container-use version
container-use stdio
container-use completion
fancy-mallard
or clever-dolphin
. You can use:
fancy-mallard
fancy
(if unique)cu-fancy-mallard
0
- Success1
- General error2
- Command syntax error3
- Environment not found4
- Operation cancelled