Using the CLI
CLI introduction
Common option flags
Services
Deploying all services in a project
Deploying all services in a project to a non-default environment and namespace
Deploying a single service
Deploying more than one specific service
Deploying a service and watching for changes
Deploying a service in hot-reload mode
Running a single ad-hoc service and attaching
Executing a command in a running service container
Executing an interactive shell in a running service container
Getting the status of your services
Getting the status of your services in JSON format
Stopping all running services
Stopping a single running service
Tests
Running all tests in a project
Running all tests for a specific module, and watching for changes
Running a specific test for a module, and watching for changes
Running a specific test and attaching
Tasks
Running a specific task
Building
Building all modules
Building all modules, forcing a rebuild
Building a specific module
Building a specific module, and watching for changes
Workflows
Running a workflow
Logs
Retrieving the latest logs for all services
Retrieving the latest logs for a service
Stream logs for a service
garden dev
Running garden dev
Running garden dev but skipping tests
Running garden dev with hot reloading enabled for all supported services
Running garden dev with hot reloading enabled for a specific service
The dashboard

Hot reloading
Project outputs
Printing project outputs
Getting project outputs in JSON format
Creating new configs
Creating a new project
Creating a module
Remote sources
Plugin commands
Initializing a Kubernetes cluster for in-cluster building
Cleaning up the in-cluster builder and registry
Planning and applying Terraform stacks
Plugin tools
Running a plugin tool
Getting the path of a plugin tool
Next Steps
Last updated
Was this helpful?

