Technical & DevelopmentIntermediate
auth0-cli
Reference for Auth0 CLI commands to manage applications, APIs, users, roles, and actions.
Developer Setup
Setup & Installation
bash
npx skills add https://github.com/auth0/agent-skills --skill auth0-clinpx skills add https://github.com/auth0/agent-skills --skill auth0-cliOr paste this URL into your assistant to install:
Overview
What This Skill Does
The Auth0 CLI (`auth0`) lets you manage your tenant from the terminal. Install it via Homebrew (`brew install auth0/auth0-cli/auth0`). For complete flag definitions and examples, see the [Full CLI Reference](references/cli.md).
Application
When to use this Skill
- Adding secure Auth0 authentication to a Cli application
- Implementing standard login, logout, and token authentication flows in Cli
- Managing user session state and securing frontend/backend routes using Auth0 SDKs
Documentation
Show Skills.md file
Auth0 CLI — Command Reference
The Auth0 CLI (auth0) lets you manage your tenant from the terminal. Install it via Homebrew (brew install auth0/auth0-cli/auth0). For complete flag definitions and examples, see the Full CLI Reference.
Before You Start: Authenticate
auth0 login # interactive device-code login
auth0 login --scopes "read:client_grants" # request extra scopes if 403
auth0 login --domain <tenant>.auth0.com --client-id <id> --client-secret "$AUTH0_CLIENT_SECRET" # CI/CD
See Authentication Details for machine login with JWT, tenant management, and logout.
Quick Decision Guide
| What you're doing | Command to use |
|---|---|
| Setting up a new project | auth0 apps create --type spa|regular|m2m|native --json |
| Need a client ID or secret | auth0 apps show <id> -r --json |
| Registering a backend API | auth0 apis create --identifier "https://..." --json |
Lines 1 - 25 of 281
Recommendations