Skip to main content
Run these commands from the project workspace. Restart to replace instances with the same configuration. Roll back to restore an earlier image and weights.

Restart an environment

Restart a deployed environment without rebuilding:
Terminal
The default strategy is rolling. The CLI waits for the rollout. See the restart reference for other strategies.

Inspect history

An environment records a revision when deployment, settings, or capacity changes. List its history and inspect a revision:
Terminal

Apply the rollback

Replace 2 with the revision you want to restore:
Terminal
The first command previews the change. The second applies it and waits for the rollout. Rollback restores only the image and weights. It keeps the current GPU, instance count, regions, variables, and secrets. To restore an earlier secret value, set it again with --secret. The change creates a new revision. If the selected revision has no weights, rollback clears the current weights.

Check the result

Check rollout status and startup logs:
Terminal
For more options, see the rollback reference.