GitKraken CLI

gk workspace set

Set your default workspace

Synopsis

The set command is used to select the default workspace. This simplifies workflows by allowing commands to operate on the default workspace without requiring explicit workspace specification.

This command sets the specified workspace as the default for the gk system. Once set, any subsequent commands that require a workspace will use the default unless another workspace is explicitly specified.

To obtain the default workspace use ‘gk ws list’

gk workspace set [flags]

Examples

  gk ws set <name>

Options

  -h, --help   help for set

Options inherited from parent commands

      --no-telemetry     Disable telemetry (OTel spans, Sentry) for this invocation
      --output string    Output format: text or json (default "text")
      --session string   (Optional) Isolate auth and cache under a named session

SEE ALSO

  • gk workspace - Interact with your workspaces. Alias: ‘ws’
Auto generated by spf13/cobra on 23-Jul-2026

© 2023 Axosoft, LLC DBA GitKraken