Skip to main content

Introduction

The Daytona CLI is a command-line interface for managing Daytona Sandboxes. It provides a complete set of tools to create, manage, and interact with sandboxes, snapshots, volumes, and organizations.

Installation

To install the Daytona CLI, follow the instructions in the Installation Guide.

Getting Started

After installation, authenticate with your Daytona account:
This will open your browser to complete the authentication process.

Basic Usage

The Daytona CLI follows a standard command structure:

Quick Start

Create your first sandbox:

Command Categories

The CLI is organized into the following command groups:

Sandbox Commands

Manage sandboxes - create, list, start, stop, delete, and interact with your development environments.
See Sandbox Commands for detailed documentation.

Snapshot Commands

Manage sandbox snapshots - create, list, and push custom images.
See Snapshot Commands for detailed documentation.

Volume Commands

Manage persistent volumes for your sandboxes.
See Volume Commands for detailed documentation.

Organization Commands

Manage organizations and switch between them.
See Organization Commands for detailed documentation.

Global Flags

Help

Get help for any command:

Version

Display the version of Daytona:

Output Formatting

Many commands support custom output formatting:

Authentication

Login

Authenticate with Daytona:

Logout

Remove authentication credentials:

Shell Completion

Enable shell completion for faster command-line usage:

Next Steps