--- title: Extension CLI sidebar_position: 1 --- # Superset Extension CLI The `apache-superset-extensions-cli` package provides command-line tools for creating, developing, and packaging Apache Superset extensions. It streamlines the entire extension development workflow from initialization to deployment. ## Installation Install the CLI globally using pip: ```bash pip install apache-superset-extensions-cli ``` Or install locally in your project: ```bash pip install --user apache-superset-extensions-cli ``` Verify installation: ```bash superset-extensions --version # Output: apache-superset-extensions-cli version 1.0.0 ``` ## Commands Overview | Command | Description | |---------|-------------| | `init` | Create a new extension project | | `dev` | Start development mode with hot reload | | `build` | Build extension assets for production | | `bundle` | Package extension into a .supx file | | `validate` | Validate extension metadata and structure | | `publish` | Publish extension to registry (future) | ## Command Reference ### init Creates a new extension project with the standard structure and boilerplate code. ```bash superset-extensions init [options] ``` #### Options - `--type, -t ` - Extension type: `full` (default), `frontend-only`, `backend-only` - `--template