Builderoom

September 28, 2026

Install

Manage Dokploy servers remotely via the command line, covering every API endpoint.

MIT
安装命令(说明)bash
npm install -g @dokploy/cli
最小用法bash
dokploy project all

Product 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

GitHubGitHub

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 auth command, or authenticate via shell environment variables (DOKPLOY_URL, DOKPLOY_API_KEY) or a .env file in the working directory. Shell environment variables take precedence over the .env file.
  • Structured output: Use the --json flag to get raw JSON output, making it easy to integrate with other tools or parse in scripts.
  • Built-in help system: Run dokploy --help to list all command groups, dokploy <group> --help to see actions within a group, and dokploy <group> <action> --help to 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 me

Initial · Dokploy CLI

Q&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.
Install
Bookmark

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 product

Alternatives

The product content on this page was translated by AI from the author's original.