How to Start Apache Airflow® on Your Computer with airflow standalone
Apache Airflow® runs as several programs that work together: a web server for the UI, a scheduler, a process that reads your Dag files, and more. airflow standalone starts all of them with one command and sets up a local database and an admin user on the way, which makes it the quickest way to try Airflow on your own computer. This guide starts it, opens the UI and stops it again, on Airflow 3.4.0.
Syntax
airflow standalone
| Part | What it means |
|---|---|
airflow standalone | Starts every Airflow component in this terminal and shows their output, each line prefixed with the component's name. It takes no options |
AIRFLOW_HOME | Not part of the command, but read by it: the folder where Airflow keeps its settings, database and logs |
Airflow's Quick Start describes it as the command that starts every component, and the command itself warns that it is "for development purposes only".
Prerequisites
- Apache Airflow® installed in a virtual environment, and that environment activated. Check with
airflow version.
Step 1: Choose Where Airflow Keeps Its Files
In your project folder, with the virtual environment active:
export AIRFLOW_HOME="$PWD"
mkdir -p dags
AIRFLOW_HOME tells Airflow to use this folder instead of creating ~/airflow; How to Set AIRFLOW_HOME for Apache Airflow® explains it. dags is where Airflow looks for your Dag files. Create it before the first start: Airflow doesn't create it, and without it the Dag processor starts with a warning and finds no files (Fixed: Bundle 'dags-folder' path does not exist).
Step 2: Start Airflow
airflow standalone
standalone | Starting Airflow Standalone
standalone | Checking for new Dag files every 5 seconds (set [dag_processor] refresh_interval to change this)
Simple auth manager | Password for user 'admin': ********
standalone | Checking database is initialized
...
standalone | Database ready
...
scheduler | 2026-12-01T03:26:30.012155Z [info ] Starting log server on http://[::]:8793 [airflow.utils.serve_logs.core] loc=core.py:50
...
api-server | 2026-12-01T03:26:31.484161Z [info ] Uvicorn running on http://127.0.0.1:8085 (Press CTRL+C to quit) [uvicorn.error] loc=server.py:234
...
standalone | Airflow is ready
standalone | Airflow Standalone is for development purposes only. Do not use this in production!

Airflow was ready about 11 seconds after the command started. On this first start it also created the database and an admin user with a generated password, printed near the top (I replaced it with stars). How to Find the Admin Password for Apache Airflow® standalone shows where else to find it.
Each line starts with the component that printed it:
| Prefix | What that component does |
|---|---|
api-server | Serves the web UI and the REST API |
scheduler | Decides which tasks should run and when, and hands them to the executor, which runs them |
dag-processor | Reads the files in dags and stores each Dag in the database |
triggerer | Runs tasks that wait for something without holding a worker |
standalone | The command itself, starting and watching the others |
The address on the Uvicorn running on line is where the UI is. Mine is http://127.0.0.1:8085 because I changed the host and port first (How to Change the Port and Host of the Apache Airflow® API Server). With the defaults it says http://0.0.0.0:8080, and you open http://localhost:8080.
Leave this terminal running. Airflow stops when you close it.
Step 3: Sign In to the UI
Open the address in your browser and sign in as admin with the password from the output. The first page is Welcome:

The Health row is the quickest check that everything started: the metadata database, the scheduler, the triggerer and the Dag processor are all green.
Step 4: Look at the Dags
Click Dags in the menu on the left:

These are the example Dags that ship with Airflow. The Dag processor was still reading them when I took the screenshot: 56 were listed, and a minute later all 119 were in. They're useful to look around, and How to Turn Off the Example Dags in Apache Airflow® removes them when you want only your own.
Step 5: Stop Airflow
Go back to the terminal and press Ctrl+C:
^Cstandalone | Shutting down components
standalone | Complete

Complete means every component has stopped, and the prompt is back.
What It Left in Your Folder
ls -1
airflow.cfg
airflow.db
dags
logs
simple_auth_manager_passwords.json.generated
| File or folder | What it is |
|---|---|
airflow.cfg | Every setting, with comments. It also holds generated secrets |
airflow.db | The metadata database (SQLite): Dags, runs and users |
logs | Task and component logs |
simple_auth_manager_passwords.json.generated | The admin password |
dags | Your Dag files (you created it in Step 1) |
The next start reuses all of them, so the password and your Dags stay the same.
The Warnings in the Output
The full output has a few warnings that look worse than they are:
| Warning | Where it comes from |
|---|---|
FileType is deprecated | Every airflow command prints it on Python 3.14. It doesn't affect anything |
ASGI app factory detected | The log servers on ports 8793 and 8794 print it as they start. It doesn't affect anything |
The HMAC key is 24 bytes long… | Appears when you sign in; Fixed: The HMAC key is 24 bytes long removes it |
Common Mistakes
| Mistake | What happens | Do this instead |
|---|---|---|
Running it without AIRFLOW_HOME | Airflow creates ~/airflow and keeps everything there | Export AIRFLOW_HOME first, in every new terminal |
| Closing the terminal to stop Airflow | It works, but skips the clean shutdown | Press Ctrl+C and wait for Complete |
| Using it in production | Every component runs in one terminal, with a SQLite database | Use it only on your own computer |
Troubleshooting
| Symptom | Likely cause | Fix |
|---|---|---|
| The UI asks for a password you don't have | It was generated on the first start | Read simple_auth_manager_passwords.json.generated |
FAQ
Is airflow standalone for production?
No. The command says so itself: "Airflow Standalone is for development purposes only." Production setups run each component separately with a database server such as PostgreSQL.
How much memory does it use?
In my runs, all its processes together used about 1.5 GB.
Do I need Docker?
No. airflow standalone runs straight from the virtual environment.
Conclusion
airflow standalone started the API server, scheduler, Dag processor and triggerer in one terminal, created the database and an admin user, and printed Airflow is ready after about 11 seconds. The UI's Health row showed all four parts healthy, and Ctrl+C stopped them with Complete.
Additional Resources
- Quick Start — the official first start.
- Architecture overview — what each component does.
- Simple auth manager — the users and passwords standalone sets up.
Apache®, Apache Airflow and Airflow® are either registered trademarks or trademarks of The Apache Software Foundation in the United States and/or other countries. No endorsement by The Apache Software Foundation is implied by the use of these marks.
