Skip to content

Quick Start

The fastest way to get KubeOrch running is with orchcli, the official developer CLI. It handles Docker Compose orchestration, repository cloning, and dependency installation automatically.

  • Docker and Docker Compose (v2) installed and running
  • Git installed (orchcli can auto-install it on Linux/macOS)
Terminal window
# Option 1: Shell script (Linux/macOS)
curl -sfL https://raw.githubusercontent.com/KubeOrch/cli/main/install.sh | sh
# Option 2: NPM (all platforms)
npm install -g @kubeorch/cli
# Option 3: Go
go install github.com/kubeorch/cli@latest

Verify installation:

Terminal window
orchcli --version

Quick Start: Try KubeOrch (Production Mode)

Section titled “Quick Start: Try KubeOrch (Production Mode)”

Run the full platform from pre-built Docker images — no source code needed.

Terminal window
# Create a project directory
mkdir kubeorch && cd kubeorch
# Initialize (production mode -- no repos cloned)
orchcli init
# Start all services in background
orchcli start -d

That’s it. Open your browser:

ServiceURL
UIhttp://localhost:3001
APIhttp://localhost:3000
MongoDBlocalhost:27017
  1. Register — Go to http://localhost:3001/signup. The first user automatically becomes admin.
  2. Add a Cluster — Dashboard > Clusters > Add Cluster. Connect using kubeconfig, bearer token, or another supported auth method.
  3. Create a Workflow — Workflows > New Workflow. Select your cluster, then drag resources onto the canvas.
  4. Deploy — Click the Run button to deploy your workflow to Kubernetes.
Terminal window
orchcli status # Check health of all services
orchcli logs -f # Follow all logs
orchcli logs core # View only Core API logs
orchcli stop # Stop everything
orchcli stop -v # Stop and remove volumes (clean slate)

For contributing to both frontend and backend.

Terminal window
mkdir kubeorch && cd kubeorch
# Clone both repos + install dependencies
orchcli init --fork-ui --fork-core
# Start MongoDB in Docker
orchcli start -d
# Terminal 1: Start Core backend (hot reload with Air)
cd core && air
# Terminal 2: Start UI frontend (hot reload with Next.js)
cd ui && npm run dev

Edit files in core/ or ui/ — changes hot-reload automatically.


For UI development without needing Go installed.

Terminal window
mkdir kubeorch && cd kubeorch
# Clone UI repo only
orchcli init --fork-ui
# Start MongoDB + Core API in Docker
orchcli start -d
# Start UI locally with hot reload
cd ui && npm run dev

The Core API runs from a Docker image at localhost:3000. You only need Node.js.


For backend development without needing Node.js installed.

Terminal window
mkdir kubeorch && cd kubeorch
# Clone Core repo only
orchcli init --fork-core
# Start everything (Core with mounted code + hot reload via Air)
orchcli start -d

Your Core source code is volume-mounted into the Docker container. Edit files locally and they hot-reload inside Docker — no Go installation required on the host.


External contributors can clone from their own forks:

Terminal window
mkdir kubeorch && cd kubeorch
# Clone from your fork
orchcli init --fork-ui=youruser/ui --fork-core=youruser/core
# Upstream remote is auto-configured
cd ui && git remote -v
# origin https://github.com/youruser/ui (fetch)
# upstream https://github.com/KubeOrch/ui (fetch)
orchcli start -d

If something isn’t working:

Terminal window
# Check service status and health
orchcli status
# Debug network connectivity between containers
orchcli debug
# Execute a command inside a container
orchcli exec core sh
orchcli exec ui sh
# View recent logs for a specific service
orchcli logs --tail 50 core

If you prefer manual setup without the CLI:

Terminal window
docker run -d --name kubeorch-mongo \
-p 27017:27017 \
-e MONGO_INITDB_DATABASE=kubeorch \
mongo:8.0
Terminal window
git clone https://github.com/KubeOrch/core.git && cd core
cp config.yaml.example config.yaml
# Edit config.yaml: set MONGO_URI, JWT_SECRET, ENCRYPTION_KEY
go run main.go
3000/v1/api
git clone https://github.com/KubeOrch/ui.git && cd ui
npm install
npm run dev
VariableDescription
MONGO_URIMongoDB connection string (e.g., mongodb://localhost:27017/kubeorch)
JWT_SECRETSecret key for JWT tokens
ENCRYPTION_KEYKey for encrypting cluster credentials at rest