DanubeData CLI
Deploy static sites from your terminal in seconds. One command to package, upload, and go live.
$ 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.ronpm install -g @danubedata/cli8 Commands to Manage Everything
Authenticate, deploy, manage domains, and roll back — all from your terminal.
danube loginAuthenticate with your DanubeData API token. Supports interactive prompt, --token flag, or DANUBE_TOKEN environment variable.
danube whoamiShow the authenticated user and list all teams you belong to.
danube pages linkLink the current directory to a DanubeData static site. Select a team and site interactively or create a new one.
danube pages deployPackage your files and deploy to DanubeData. Respects .gitignore, polls build status, and shows your live URL.
danube pages deployments lsList all deployments with revision numbers, status, and timestamps. Color-coded for quick scanning.
danube pages deployments rollbackActivate a previous deployment by revision number. Instant rollback with zero downtime.
danube pages domains addAdd a custom domain to your site. Returns DNS verification instructions with the exact record to create.
danube pages domains verifyTrigger 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.roBuilt 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.
CI/CD Automation
Add a deploy step to GitHub Actions, GitLab CI, or any pipeline. Environment variables for zero-config auth.
Multi-Site Management
Manage multiple static sites from one machine. Link different directories to different sites and deploy independently.
Team Collaboration
Share deploy access across your team with API tokens. Every team member can deploy and manage domains.
CLI FAQ
Common questions about the DanubeData CLI
Deploy from Your Terminal
Install, link, deploy. Your site is live in under a minute.