Docs Quick Start
Quick Start Guide
Get your first application running on CloudAnchor in under 5 minutes.
Prerequisites
- • Node.js 16+ installed on your machine
- • A CloudAnchor account (sign up free)
- • Your application in a Git repository
Step 1 — Install the CLI
The CloudAnchor CLI (ca) is your primary tool for managing deployments, services, and resources.
# Install the CloudAnchor CLI
npm install -g @cloudanchor/cli
# Authenticate with your account
ca auth login
# Deploy your first application
cd my-project
ca deploy --name my-app --region ap-south-1
# View your apps
ca apps listStep 2 — Configure Your App
Add a cloudanchor.yml to your project root (optional — we auto-detect most stacks):
name: my-node-app
runtime: node:20
region: ap-south-1
scale:
min: 2
max: 10
trigger: cpu > 70%
env:
NODE_ENV: production
PORT: 8080Step 3 — Deploy
Push to your connected Git branch or deploy directly:
$ ca deploy
✓ Detected: Node.js 20 LTS
✓ Building...
✓ Health check passed
✓ Deployed to https://my-node-app.cloudanchor.app
$ ca domain add myapp.com
✓ Custom domain configured (SSL auto-provisioned)