astronomer avatar

Managing Astro Local Env

Manage a local Airflow environment with Astro CLI in Docker or Docker-free standalone mode.

CCM score
70 of 100
skills.sh installs
1.9K
GitHub stars
463
last updated
Aug 21, 2026
View on GitHub

Own this skill? Claim it

What it does

  • Covers starting, stopping, restarting, and killing Airflow, plus status checks, logs, and the Airflow CLI through astro dev commands
  • Includes standalone mode, which runs Airflow in a .venv/ managed by uv and requires Airflow 3 on non-Windows systems
  • Provides a reverse proxy for running several projects at once, with hostnames like <project-name>.localhost:6563 and default port 6563
  • Includes astro api airflow for querying DAGs, runs, task instances, logs, connections, and variables, with jq filtering and a troubleshooting table

Install

$ npx -y skills add astronomer/agents --skill managing-astro-local-env -y

Installs into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.

Files

Astro Local Environment

This skill helps you manage your local Airflow environment using the Astro CLI.

Two modes: Docker (default, uses containers) and Standalone (Docker-free, uses a local venv — requires Airflow 3 + uv).

To set up a new project, see the setting-up-astro-project skill. When Airflow is running, use MCP tools from authoring-dags and testing-dags skills.


Start / Stop / Restart (Docker)

# Start local Airflow (webserver at http://localhost:8080)
astro dev start

# Stop containers (preserves data)
astro dev stop

# Kill and remove volumes (clean slate)
astro dev kill

# Restart all containers
astro dev restart

# Restart specific component
astro dev restart --scheduler
astro dev restart --webserver

Default credentials: admin / admin

Restart after modifying: requirements.txt, packages.txt, Dockerfile

Standalone mode? See the next section.


Standalone Mode

Docker-free local development. Runs Airflow directly on your machine in a .venv/ managed by uv.

Requirements: Airflow 3 (runtime 3.x), uv on PATH. Not supported on Windows.

Details

Repository
github.com/astronomer/agents
Categories
DevOps & Cloud, Data Science & Analytics
First seen
Apr 16, 2026

More from astronomer/agents

All 24

Similar to Managing Astro Local Env

More DevOps & Cloud