Before you start
Set up an Auth0 Tenant.
For complete CLI command reference and detailed usage information, read Auth0 CLI Reference Documentation.
Key Features
- Interactive Management: Create, update, and manage Auth0 resources from the command line
- Authentication Support: Multiple authentication methods including user login and machine-to-machine credentials
- Resource Management: Full CRUD operations for applications, APIs, connections, users, and more
- Cross-Platform: Available for macOS, Linux, and Windows
- JSON Output: Machine-readable output for scripting and automation
Use Cases
Auth0 CLI is ideal for:- Development Workflows: Quickly set up and configure Auth0 resources during development
- Testing: Create test applications and users for automated testing
- Debugging: Inspect and modify Auth0 configuration in real-time
- Scripting: Automate repetitive tasks with shell scripts
- CI/CD Integration: Integrate Auth0 configuration into your deployment pipelines
Comparison with Other Tools
Auth0 CLI vs Deploy CLI
- Auth0 CLI: Interactive, command-by-command resource management. Best for development and ad-hoc tasks.
- Deploy CLI: Declarative, configuration-file-based tenant management. Best for managing entire tenant configurations across environments.
Auth0 CLI vs Terraform Provider
- Auth0 CLI: Imperative commands for immediate changes. No state management.
- Terraform Provider: Declarative infrastructure-as-code with state tracking. Best for production infrastructure management.