CLI
The xc command-line tool is one of two clients for XWidget Cloud — the other is the
web Console. The CLI is the only way to deploy (it bundles the
resources in your project directory), and it's the right client for scripting and
release pipelines. If you don't have xc installed yet, see
CLI Setup.
All cloud management commands live under xc cloud:
xc cloud login
xc cloud logout
xc cloud whoami
xc cloud deploy
xc cloud publish
xc cloud unpublish
xc cloud usage
xc cloud workspace [list | rename]
xc cloud project [list | delete | rename | keys | rotate-key]
xc cloud channel [list | delete | rename]
xc cloud deployment [list | delete]
Most commands require authentication — run xc cloud login
first. Analytics commands are a separate top-level namespace; see
Analytics Overview.
The pages in this section cover each command area:
- Authentication — login, logout, and session behavior
- Workspaces — list and rename workspaces, check usage
- Projects — manage projects and their keys
- Channels — list, rename, and delete channels
- Deployments — deploy, publish, unpublish, and manage revisions