Overview
flytectl is a portable, lightweight CLI written in Go that communicates with the FlyteAdmin service over gRPC. Every Flyte resource — projects, tasks, workflows, launch plans, executions, and matchable attributes — can be inspected or modified through flytectl.
Global flags
These flags are available on every command.| Flag | Short | Default | Description |
|---|---|---|---|
--config | -c | $HOME/.flyte/config.yaml | Path to the config file |
--project | -p | "" | Flyte project to target |
--domain | -d | "" | Flyte domain to target (e.g. development, staging, production) |
--output | -o | TABLE | Output format: TABLE, JSON, YAML, DOT, DOTURL (DOT/DOTURL only for workflows) |
--interactive | -i | false | Enable the interactive (bubbletea) UI |
--admin.endpoint | "" | gRPC endpoint of FlyteAdmin | |
--admin.insecure | false | Disable TLS for the Admin connection | |
--admin.authType | ClientSecret | OAuth2 flow: ClientSecret, Pkce, ExternalCommand |
The
--project, --domain, and --output flags cannot be set in the config file. They must be passed on the command line or configured in the root section.Commands
get
Fetch tasks, workflows, launch plans, executions, projects, and matchable attributes.
create
Create projects and launch new executions.
delete
Terminate executions and remove matchable resource attributes.
update
Update project metadata, launch plan state, and matchable attributes.
register
Register serialized workflow packages (tasks, workflows, launch plans) with FlyteAdmin.
demo
Start, stop, and inspect a local Flyte demo cluster running in Docker.
config
Initialize and validate the flytectl configuration file.
installation
Install flytectl via Homebrew, curl, or GitHub releases.
Additional commands
| Command | Description |
|---|---|
flytectl sandbox | Manage a local Flyte sandbox cluster (alias for demo with fewer subcommands) |
flytectl version | Print the flytectl and FlyteAdmin versions |
flytectl upgrade | Upgrade flytectl to a newer release |
flytectl compile | Validate a Flyte package locally without registering it |
flytectl completion | Generate shell completion scripts (bash/zsh/fish) |
flytectl sandbox and flytectl demo both manage a local Docker-based Flyte environment. demo is the recommended command — it includes an additional reload subcommand. sandbox is older and may be deprecated in a future release.Usage pattern
Most read operations follow this pattern:Output formats
Allget commands support multiple output formats via -o: