Command Line Tool

DanubeData CLI

Deploy static sites from your terminal in seconds. One command to package, upload, and go live.

Get €50 free credit for your first 30 days
npm install
Node.js 18+
CI/CD Ready
Open Source
terminal
$ npm install -g @danubedata/cli

$ danube login
 Logged in as Adrian

$ danube pages link
 Linked to my-portfolio

$ danube pages deploy
 Packaged 42 files (1.2 MB)
 Build complete!

  Live at: https://my-portfolio.pages.danubedata.ro
npm install -g @danubedata/cli

8 Commands to Manage Everything

Authenticate, deploy, manage domains, and roll back — all from your terminal.

danube login

Authenticate with your DanubeData API token. Supports interactive prompt, --token flag, or DANUBE_TOKEN environment variable.

danube whoami

Show the authenticated user and list all teams you belong to.

danube pages link

Link the current directory to a DanubeData static site. Select a team and site interactively or create a new one.

danube pages deploy

Package your files and deploy to DanubeData. Respects .gitignore, polls build status, and shows your live URL.

danube pages deployments ls

List all deployments with revision numbers, status, and timestamps. Color-coded for quick scanning.

danube pages deployments rollback

Activate a previous deployment by revision number. Instant rollback with zero downtime.

danube pages domains add

Add a custom domain to your site. Returns DNS verification instructions with the exact record to create.

danube pages domains verify

Trigger DNS verification for a custom domain. TLS certificates are provisioned automatically after verification.

Real-World Examples

Copy and paste these commands to get started

# Install the CLI globally
$ npm install -g @danubedata/cli

# Authenticate with your API token
$ danube login
? Enter your API token: ****...****
✔ Logged in as Adrian (adrian@danubedata.ro)

# Link your project to a site
$ danube pages link
? Select a team: My Team
? Select a site: Create new site
? Site name: my-portfolio
✔ Linked to my-portfolio

# Deploy!
$ danube pages deploy
✔ Packaged 42 files (1.2 MB)
✔ Uploaded successfully
⠋ Building... (revision #1)
✔ Build complete!

  Live at: https://my-portfolio.pages.danubedata.ro

Built for Developer Workflows

Everything you need for fast, reliable deployments

One-Command Deploy

Run danube pages deploy and your site is live. No configuration files required to get started.

Git-Aware Packaging

Automatically respects .gitignore rules. Your node_modules, .git, and build artifacts stay out of deployments.

CI/CD Ready

Set environment variables and deploy headlessly. Detects CI environments and skips interactive prompts.

Instant Rollbacks

Every deployment is versioned. Roll back to any previous revision with a single command.

Domain Management

Add, verify, and remove custom domains from your terminal. TLS certificates handled automatically.

Smart File Packaging

Files are ZIP-compressed and uploaded efficiently. Configure output directory and ignore patterns in danube.json.

Live Build Status

Watch your build progress in real-time with spinners and status updates. See errors immediately.

Secure by Default

API tokens stored locally and never logged. Environment variable support for secrets in CI/CD.

Fits Every Workflow

From solo developers to automated pipelines

Local Development Workflow

Build your site locally, then deploy with a single command. Ideal for testing changes before pushing to Git.

Quick IterationPreview DeploysLocal Build

CI/CD Automation

Add a deploy step to GitHub Actions, GitLab CI, or any pipeline. Environment variables for zero-config auth.

GitHub ActionsGitLab CIAutomated Deploy

Multi-Site Management

Manage multiple static sites from one machine. Link different directories to different sites and deploy independently.

PortfolioDocumentationLanding Pages

Team Collaboration

Share deploy access across your team with API tokens. Every team member can deploy and manage domains.

Shared AccessTeam TokensAudit Trail

CLI FAQ

Common questions about the DanubeData CLI

Deploy from Your Terminal

Install, link, deploy. Your site is live in under a minute.

npm install -g @danubedata/cli
Get €50 free credit for your first 30 days