September 28, 2026

Dokploy CLI
Manage Dokploy servers remotely via the command line, covering every API endpoint.
npm install -g @dokploy/clidokploy project allProduct facts
- Type
- CLI / Terminal
- Category
- Development & Engineering › CI/CD and DevOps
- Pricing
- Open source
- License
- MIT
- Launched
- Sep 28, 2026
- Listed
- Sep 28, 2026
- Website
- github.com
Overview
Dokploy CLI is a command-line tool for managing Dokploy servers remotely. Auto-generated from Dokploy's OpenAPI specification, it includes 449 commands that cover every Dokploy API endpoint.
Key Capabilities
- Comprehensive command coverage: Offers 30+ command groups for managing resources such as application, postgres, mysql, mongo, redis, mariadb, compose, deployment, docker, domain, server, and settings.
- Multiple authentication methods: Configure the URL and API Key directly with the
authcommand, or authenticate via shell environment variables (DOKPLOY_URL,DOKPLOY_API_KEY) or a.envfile in the working directory. Shell environment variables take precedence over the.envfile. - Structured output: Use the
--jsonflag to get raw JSON output, making it easy to integrate with other tools or parse in scripts. - Built-in help system: Run
dokploy --helpto list all command groups,dokploy <group> --helpto see actions within a group, anddokploy <group> <action> --helpto view options for a specific action.
Use Cases
This tool is ideal for developers and ops engineers who need to automate or manually manage Dokploy instances from the terminal. Whether you're creating apps, deploying services, managing databases (such as starting or stopping Postgres instances), or configuring domains and certificates, everything can be done through a unified CLI without repeatedly opening the web panel.
Development & Maintenance
The project is written in TypeScript and open-sourced under the MIT license. Commands are auto-generated from openapi.json. When the API spec in the main Dokploy repository is updated, developers can replace the local openapi.json and run the generation script to sync the latest commands.
Key features
- Auto-generated from OpenAPI: All 449 commands are generated from the Dokploy OpenAPI spec, ensuring full alignment with the API endpoints.
- Multiple auth methods: Authenticate via the auth command, shell environment variables, or a .env file.
- JSON output support: Add the --json flag to receive responses in raw JSON format.
- Multi-level help docs: View help at both the command group and action levels to discover available parameters.
- Extensive resource management: Covers 30+ command groups including apps, databases, Compose, Docker, domains, and deployments.
Releases
Notify meQ&A
- How do I install Dokploy CLI?AI-generated
- Install it globally via npm: npm install -g @dokploy/cli.
- How are the CLI commands generated?AI-generated
- All commands are auto-generated from Dokploy's OpenAPI specification (openapi.json), covering every API endpoint.
- How do I authenticate?AI-generated
- There are three methods: 1. Run dokploy auth -u <URL> -t <API_KEY>; 2. Set the DOKPLOY_URL and DOKPLOY_API_KEY environment variables; 3. Create a .env file containing these two variables in your working directory. Environment variables take precedence over the .env file.
- How do I get JSON output?AI-generated
- Add the --json flag when running a command, for example: dokploy project all --json.
- How do I update the CLI commands?AI-generated
- Place the latest openapi.json into the project, then run pnpm run generate followed by pnpm run build to regenerate and build the commands.
This product has no owner yet
It was listed by the platform or its author left. If it is your work, prove your relationship to become the owner.
Claim this productAlternatives
The product content on this page was translated by AI from the author's original.
