Commands

update

Update the installed xtraq global tool to the latest available version. Installs the latest published xtraq global tool package on the current machine. When invoked from CI this command can keep runner environments current before a build.

Usage

xtraq update [options]

Options

xtraq update reuses global switches documented on the CLI overview:

  • -v, --verbose prints the feed URL and the executed dotnet tool update command.
  • --ci suppresses Spectre.Console decorations, producing plain text suitable for log files.

update ignores project-path arguments because the tool update always targets the global installation.

Behavior Contract

AspectDetails
Invocationxtraq update (global-tool context only).
ReadsNuGet feed metadata via the update service.
WritesUpdates the globally installed xtraq tool; no project files are touched.
Exit codes0 success; non-zero indicates the update service failed or surfaced an unexpected runtime error.
NotesIgnores --project-path; honours --verbose/--ci for output shaping; on Windows the updater queues a post-exit process to avoid locking the running shim.

Examples

# Update with default output
xtraq update

# Include verbose diagnostics for troubleshooting
xtraq update --verbose