An Apache Airflow plugin that provides a web-based code editor and file manager for managing DAGs and other files directly in the Airflow UI. Supports multiple file types, syntax highlighting, and various storage backends (local, S3, GCS). Current version is 8.2.3, compatible with Airflow 2.x and 3.x. Release cadence is irregular, with frequent bug fixes.
pip install airflow-code-editorVerified import paths — ran on the pinned version, not inferred.
Install the plugin and enable it via configuration. After restarting Airflow, navigate to the /code-editor/ endpoint.
Ensure your Airflow version is >=3.0 before upgrading to v8.x. If using Airflow 2.x, stay on v7.x.
Set AIRFLOW__CORE__PLUGINS=airflow_code_editor in your environment or add plugins = airflow_code_editor to the [core] section of airflow.cfg.
Update all imports to use the new package path.
Verify cloud storage permissions before configuring mount paths.