Skip to main content

Installation

Install the DOTA CLI per‑project (recommended), or globally if you prefer. Then authenticate to start releasing.

Prerequisites

  • Node.js 14+
  • npm or yarn
  • Access key from the DOTA dashboard (for authentication)

Installation

npm install --save-dev @d11/delivr-cli

After project install, you can use the CLI via your package manager or npx:

# Using npm
npm run code-push-standalone <command>

# Using yarn
yarn code-push-standalone <command>

# Using npx (no install needed)
npx code-push-standalone <command>
Alternative: Global installation
npm install -g @d11/delivr-cli

After global install, run commands directly:

code-push-standalone <command>

Getting an Access Key

Before you can use the CLI, you need an access key from the DOTA Dashboard.

Follow the steps mentioned in Create and Manage API Tokens to generate an access token.

Authentication

Most commands require login with an access key.

Login:

yarn code-push-standalone login --accessKey <your-access-key> <server-url>

Check session:

yarn code-push-standalone whoami

Logout:

yarn code-push-standalone logout
tip

If a server URL is already configured, you can omit it. Check: cat ~/.code-push.config.