Sign Up

Other

Reference for the daytona completion, config, docs, and version commands.

Commands

This page documents the following commands. Global flags that apply to every command are listed under daytona.

CommandDescription
daytona completionGenerate the autocompletion script for the specified shell
daytona configRead and change CLI settings
daytona docsPrint the command reference (--full: every command, one page)
daytona versionPrint the CLI version

daytona completion

Generate the autocompletion script for the specified shell

Generate the autocompletion script for daytona for the specified shell. See each sub-command's help for details on how to use the generated script.

Commands

CommandDescription
daytona completion bashGenerate the autocompletion script for bash
daytona completion fishGenerate the autocompletion script for fish
daytona completion powershellGenerate the autocompletion script for powershell
daytona completion zshGenerate the autocompletion script for zsh

daytona completion bash

Generate the autocompletion script for bash

Generate the autocompletion script for the bash shell.

This script depends on the 'bash-completion' package. If it is not installed already, you can install it via your OS's package manager.

To load completions in your current shell session:

source <(daytona completion bash)

To load completions for every new session, execute once:

Linux

daytona completion bash > /etc/bash_completion.d/daytona

macOS

daytona completion bash > $(brew --prefix)/etc/bash_completion.d/daytona

You will need to start a new shell for this setup to take effect.

daytona completion bash

Flags

LongShortTypeDefaultDescription
--no-descriptionsbooldisable completion descriptions

daytona completion fish

Generate the autocompletion script for fish

Generate the autocompletion script for the fish shell.

To load completions in your current shell session:

daytona completion fish | source

To load completions for every new session, execute once:

daytona completion fish > ~/.config/fish/completions/daytona.fish

You will need to start a new shell for this setup to take effect.

daytona completion fish [flags]

Flags

LongShortTypeDefaultDescription
--no-descriptionsbooldisable completion descriptions

daytona completion powershell

Generate the autocompletion script for powershell

To load completions in your current shell session:

daytona completion powershell | Out-String | Invoke-Expression

To load completions for every new session, add the output of the above command to your powershell profile.

daytona completion powershell [flags]

Flags

LongShortTypeDefaultDescription
--no-descriptionsbooldisable completion descriptions

daytona completion zsh

Generate the autocompletion script for zsh

Generate the autocompletion script for the zsh shell.

If shell completion is not already enabled in your environment you will need to enable it. You can execute the following once:

echo "autoload -U compinit; compinit" >> ~/.zshrc

To load completions in your current shell session:

source <(daytona completion zsh)

To load completions for every new session, execute once:

Linux

daytona completion zsh > "${fpath[1]}/_daytona"

macOS

daytona completion zsh > $(brew --prefix)/share/zsh/site-functions/_daytona

You will need to start a new shell for this setup to take effect.

daytona completion zsh [flags]

Flags

LongShortTypeDefaultDescription
--no-descriptionsbooldisable completion descriptions

daytona config

Read and change CLI settings

Commands

CommandDescription
daytona config getPrint a setting (confirm)
daytona config pathPrint the config directory
daytona config setChange a setting (confirm true|false — prompts before destructive verbs)

daytona config get

Print a setting (confirm)

daytona config get <key>

daytona config path

Print the config directory

daytona config path

daytona config set

Change a setting (confirm true|false — prompts before destructive verbs)

daytona config set <key> <value>

daytona docs

Print the command reference (--full: every command, one page)

Prints documentation for the CLI. With --full the entire command tree is rendered as Markdown on stdout — one page an agent or a human can read in a single pass. With --dir the same reference is written as one Markdown file per command.

daytona docs [flags]

Flags

LongShortTypeDefaultDescription
--dirstringwrite one Markdown file per command into this directory
--fullboolrender the whole command tree as one Markdown page

daytona version

Print the CLI version

daytona version