src update

Check if a new version of the CLI is available.

By default, this command checks for updates and shows instructions on how to update
if a new version is available. Use --check to only check without prompting.

Usage

src update [flags]

Available commands

Command Description
channel Switch update channel

Flags

Flag Description
--auto Do unattended update if possible
--check Only check for updates, don't prompt

Inherited flags

Flag Description
--env string Override Sourcecraft environment (use 'src envs' to list available)
--json string Output JSON, optionally filtered (--json or --json=field1,field2)
--json-compact string Output compact JSON, optionally filtered
--plain Output without colors/styling (for LLM consumption)
-R, --repo string Select another repository using OWNER/REPO format
-V, --verbose Enable debug logging output

Learn more

Use src update <subcommand> --help for more information about a command.

Предыдущая
Следующая