Installation & Quickstart
Arka ships as a single static Go binary (with embedded React 19 Console), dual-architecture container images, and an OCI Helm Chart. Download the release package for your platform directly below, or pick one self-contained installation path to go from zero to running.
Downloads & Official Distribution (v1.0.0)
| Artifact | Official Location / Direct Link | Notes |
|---|---|---|
| GitHub Releases (All Downloads) | All Releases · v1.0.0 Release | Server bundles, standalone arkactl, Helm .tgz, checksums & Cosign bundles |
| Server Container Image (GHCR) | ghcr.io/ccsert/arka (tag 1.0.0) | linux/amd64 + linux/arm64 with arka, arkactl, and embedded Console |
| Scanner Sidecar Image (GHCR) | ghcr.io/ccsert/arka-scanner (tag 1.0.0) | Optional isolated Syft + Grype offline vulnerability scanner |
| Kubernetes Helm Chart | oci://ghcr.io/ccsert/charts/arka · Download arka-1.0.0.tgz | Multi-replica HA deployment (OCI registry or air-gapped .tgz) |
| Source Repo & Quickstart Files | GitHub ccsert/arka · docker-compose.quickstart.yml · scripts/quickstart.sh | Local Docker Compose tryout stack and source-build entrypoint |
Direct Binary Downloads (v1.0.0)
| Platform & Architecture | Server Bundle (arka + arkactl + Console) | Client Only (Standalone arkactl) |
|---|---|---|
Linux x86_64 (amd64) | arka-v1.0.0-linux-amd64.tar.gz | arkactl-v1.0.0-linux-amd64.tar.gz |
Linux ARM64 (arm64) | arka-v1.0.0-linux-arm64.tar.gz | arkactl-v1.0.0-linux-arm64.tar.gz |
macOS Apple Silicon (arm64) | arka-v1.0.0-darwin-arm64.tar.gz | arkactl-v1.0.0-darwin-arm64.tar.gz |
macOS Intel (amd64) | arka-v1.0.0-darwin-amd64.tar.gz | arkactl-v1.0.0-darwin-amd64.tar.gz |
Windows x86_64 (amd64) | (Use Docker, Linux, or WSL2 for the server) | arkactl-v1.0.0-windows-amd64.zip |
Verification & air-gap metadata: SHA256SUMS.txt · SHA256SUMS.txt.bundle · release-manifest.json · Release Verification Guide.
Version pinning vs.
:latesttags: Stable releases such asv1.0.0advance:latest, while pre-release tags (-rc.*) never move:latest. In production, always pin an explicit version (such as1.0.0) or an immutable@sha256:...digest.
Choose Your Installation Path
Do not mix Docker Compose quickstart, bare-metal binary setup, Kubernetes Helm, and client-only installation—each path below is completely self-contained:
| Path | Best For | Prerequisites | Time | Jump To |
|---|---|---|---|---|
| Path A · Local Tryout (Docker Compose) | Evaluating Arka locally, testing the Console and pushing/pulling your first package | Docker Engine + Compose v2.17+, curl | ~3 min | Path A |
| Path B · Single Host / VM (Binary + PG 16) | Dedicated Linux/macOS host or VM without Kubernetes | PostgreSQL 16, server tarball above, openssl | ~10 min | Path B |
| Path C · Production Kubernetes (OCI Helm) | Multi-replica HA cluster with external PostgreSQL 16, S3/Azure, Ingress TLS, optional Scanner | Kubernetes 1.23+, Helm 3.8+, external PG 16 & S3 | ~15 min | Path C / Production Guide |
Path D · Client Only (arkactl) | Operators and CI runners managing an existing Arka server (Linux / macOS / Windows) | Standalone arkactl archive above | ~2 min | Path D |
Path A · Local Tryout (Docker Compose)
Starts PostgreSQL 16, RustFS (S3-compatible object storage), a bucket-init job, and Arka with the embedded React 19 Console bound strictly to loopback (127.0.0.1:18080) using docker-compose.quickstart.yml.
1. Fetch the Stack and Start Arka
Pick whichever workflow fits best:
Option 1: Download Only the Compose File (Fastest — No Git Clone Required)
Download docker-compose.quickstart.yml directly and start the published dual-architecture image:
mkdir -p arka-quickstart && cd arka-quickstart
# 1. Download the standalone quickstart Compose file
curl -fsSLO https://raw.githubusercontent.com/ccsert/arka/v1.0.0/docker-compose.quickstart.yml
# 2. Start PostgreSQL 16 + RustFS + Arka (pin an explicit release version)
ARKA_IMAGE=ghcr.io/ccsert/arka:1.0.0 \
docker compose -f docker-compose.quickstart.yml up -d
# 3. Wait until Arka reports healthy
curl -fsS --retry 30 --retry-all-errors --retry-delay 1 \
http://127.0.0.1:18080/api/v1/healthStop or clean up using standard Docker Compose commands:
# Stop containers while preserving data volumes
docker compose -f docker-compose.quickstart.yml down
# Permanently delete containers, network, and all volumes
docker compose -f docker-compose.quickstart.yml down -vOption 2: Clone the Repo to Use scripts/quickstart.sh (Auto-Verify or Local Source Build)
If you want the helper script scripts/quickstart.sh (which supports --verify smoke checks, --build local builds, and --stop/--clean shortcuts), clone ccsert/arka first:
# 1. Clone the repository
git clone --depth 1 --branch v1.0.0 https://github.com/ccsert/arka.git
cd arka
# 2a. Start with the published GHCR image and run the smoke check
ARKA_IMAGE=ghcr.io/ccsert/arka:1.0.0 ./scripts/quickstart.sh --verify
# 2b. Or build locally from the checked-out source (no GHCR pull required)
./scripts/quickstart.sh --build --verify--verify waits for GET /api/v1/health, creates the quickstart-raw Hosted repository, uploads hello.txt, downloads it back, and verifies byte-for-byte equality. Stop, restart, or clean up later:
./scripts/quickstart.sh --stop # Keep PostgreSQL, RustFS, and local keys
ARKA_IMAGE=ghcr.io/ccsert/arka:1.0.0 ./scripts/quickstart.sh # Resume with persisted data
./scripts/quickstart.sh --clean # Permanently delete containers & volumes2. Sign In to the Console
Once healthy, open:
- Console:
http://127.0.0.1:18080/login - Anonymous Public Portal:
http://127.0.0.1:18080/public(empty until a repository enablesanonymousRead) - Initial Admin:
admin/arka-admin-dev(override before first boot withARKA_BOOTSTRAP_ADMIN_USERandARKA_BOOTSTRAP_ADMIN_PASSWORD)
3. Create Your First Repository and Push / Pull a Package
You can create a repository in Console → Repositories → New Repository, or directly via the API:
BASE="http://127.0.0.1:18080"
AUTH="admin:arka-admin-dev"
# 1. Create a Raw Hosted repository
curl -fsS -u "$AUTH" -H 'Content-Type: application/json' \
-d '{"name":"my-raw","format":"raw","type":"hosted"}' \
"$BASE/api/v1/repositories"
# 2. Upload a file to the data plane (/repository/<name>/<path>)
printf 'hello from Arka\n' > hello.txt
curl -fsS -u "$AUTH" -T ./hello.txt "$BASE/repository/my-raw/demo/hello.txt"
# 3. Download it back and verify identical bytes
curl -fsS -u "$AUTH" "$BASE/repository/my-raw/demo/hello.txt" -o fetched.txt
cmp hello.txt fetched.txt && echo "Upload & download verified!"Next step for CI/CD: Never embed your admin password in CI pipelines. Create a least-privilege service account and scoped API token under Console → Access (
/access), grantwriteon Hosted repositories for publishers andreadfor consumers, and use thearkat_*token as the HTTP Basic password.
Quickstart customization variables (both options):
ARKA_PORT: loopback port (default18080).ARKA_QUICKSTART_PROJECT: Docker Compose project name (defaultarka-quickstart). Use distinct names and ports for parallel instances.ARKA_IMAGE: target server image tag or@sha256:...digest.
Why Quickstart doesn't ask for
ARKA_CREDENTIAL_KEY:docker-compose.quickstart.ymlsetsARKA_ENV=development, which auto-generates a 32-byte key at/data/config/arka/credential.keyand a signing key at/data/signing-keyinside theidentityDocker volume. Production runs require an explicitARKA_CREDENTIAL_KEY—see Path B below.
Path B · Single Host / VM (Binary + PostgreSQL 16)
Use this path to run Arka directly as a systemd service or standalone binary on Linux or macOS without Docker.
1. Download and Verify the Release Archive
Download directly from the Downloads Table above or the GitHub Releases (v1.0.0) page, or fetch and verify via CLI:
- Linux x86_64:
arka-v1.0.0-linux-amd64.tar.gz - Linux ARM64:
arka-v1.0.0-linux-arm64.tar.gz - macOS Apple Silicon:
arka-v1.0.0-darwin-arm64.tar.gz - macOS Intel:
arka-v1.0.0-darwin-amd64.tar.gz
Each server archive contains bin/arka, bin/arkactl, console/dist/, and BUILDINFO.
VERSION="v1.0.0"
OS="linux" # linux or darwin
ARCH="amd64" # amd64 or arm64
REPO="https://github.com/ccsert/arka/releases/download/${VERSION}"
mkdir -p arka-install && cd arka-install
curl -fsSLO "${REPO}/arka-${VERSION}-${OS}-${ARCH}.tar.gz"
curl -fsSLO "${REPO}/SHA256SUMS.txt"
# Verify SHA-256 checksum (use `shasum -a 256 -c --ignore-missing SHA256SUMS.txt` on macOS)
sha256sum -c --ignore-missing SHA256SUMS.txt
tar xzf "arka-${VERSION}-${OS}-${ARCH}.tar.gz"
./bin/arka --versionFor full Cosign keyless signature verification (online or completely air-gapped), see Release Verification & Offline Deployment.
2. Prepare PostgreSQL 16
Arka requires PostgreSQL 16 (single shared database; sequential SQL migrations are embedded in the arka binary and serialized with pg_advisory_lock).
CREATE ROLE arka WITH LOGIN PASSWORD 'REPLACE_WITH_STRONG_DB_PASSWORD';
CREATE DATABASE arka OWNER arka;Connection pooler warning: Arka uses session-level
LISTEN/NOTIFYandpg_advisory_lock. PointARKA_DATABASE_URLdirectly at PostgreSQL (or a session-mode pooler). Do not put PgBouncer in transaction pooling mode in front ofarka.
3. Configure Environment Variables (Required vs. Optional)
Create a private environment file (for example /etc/arka/arka.env with chmod 600):
# Generate the two independent secrets once and store them in your secrets manager
openssl rand -hex 32 # -> ARKA_CREDENTIAL_KEY (32 bytes = 64 hex chars or standard Base64)
openssl rand -hex 32 # -> ARKA_AUTH_SIGNING_KEY (32+ bytes high-entropy HMAC secret)| Variable | Required? | Default | How to Set & Common Pitfalls |
|---|---|---|---|
ARKA_DATABASE_URL | Yes | postgres://arka:arka-dev-password@localhost:5439/arka?sslmode=disable | Production PostgreSQL 16 DSN, e.g. postgres://arka:<url-encoded-pass>@pg.example.com:5432/arka?sslmode=verify-full. URL-encode special characters in the password! |
ARKA_CREDENTIAL_KEY | Yes (prod) | (none — fails closed) | Must be set for both arka migrate and arka serve unless ARKA_ENV=development. Exactly 32 bytes as 64 hex chars (openssl rand -hex 32) or standard Base64. Back up separately from the database! |
ARKA_AUTH_SIGNING_KEY | Yes (prod) | arka-dev-signing-key-... | HMAC key for browser sessions (arka1.*) and OCI bearer tokens. Generate with openssl rand -hex 32. Must be identical across all replicas. |
ARKA_BOOTSTRAP_ADMIN_PASSWORD | Yes (1st boot) | arka-admin-dev | Password for initial ARKA_BOOTSTRAP_ADMIN_USER (default admin). Used only when bootstrapping the first admin; rotate later inside Arka. |
ARKA_BASE_URL | Yes (prod) | http://localhost:8080 | External URL clients use, e.g. https://registry.example.com (no trailing slash). Drives OCI Bearer realm, upload Location, and package index URLs. |
ARKA_CONSOLE_DIST_DIR | Recommended | (empty — API only) | Set to /opt/arka/console/dist (from the tarball) so the web Console is served at /. The Docker image sets /app/console/dist automatically. |
ARKA_LISTEN_ADDR | Optional | :8080 | HTTP bind address (e.g. 127.0.0.1:8080 behind Nginx/Caddy/Traefik). |
ARKA_STORAGE_DRIVER | Optional | fs | fs (single-host local disk), s3 (AWS S3, RustFS, MinIO), or azure_blob. |
ARKA_STORAGE_FS_ROOT | If fs | .arka-data/blobs | Writable directory owned by the arka OS user (e.g. /var/lib/arka/blobs). |
ARKA_S3_ENDPOINT | If s3 | (empty) | S3 API endpoint, e.g. https://s3.internal.example.com. |
ARKA_S3_BUCKET | If s3 | arka-blobs | Target bucket name. Pre-create in production and set ARKA_S3_AUTO_CREATE_BUCKET=false. |
ARKA_S3_REGION | If s3 | us-east-1 | S3 region name. |
ARKA_S3_PATH_STYLE | If s3 | true | Keep true for RustFS / MinIO / Ceph; set false for AWS S3 virtual-hosted URLs. |
ARKA_S3_AUTH_MODE | If s3 | static | static (uses ARKA_S3_ACCESS_KEY + ARKA_S3_SECRET_KEY) or aws_default (IAM role/IRSA — do not pass static keys). |
ARKA_TRUSTED_PROXIES | Behind proxy | (empty) | Comma-separated direct reverse-proxy IPs/CIDRs (e.g. 127.0.0.1,10.0.0.0/8) so real client IPs and X-Accel-Redirect work safely. |
ARKA_METRICS_LISTEN_ADDR | Optional | (empty = main port) | Set e.g. 127.0.0.1:9090 to expose Prometheus /metrics on a dedicated internal port. |
ARKA_TLS_CA_CERTIFICATES | Private CA | (empty) | Path to PEM CA bundle appended to system roots for outbound HTTPS proxy upstreams. |
4. Migrate, Start, and Verify Health
set -a
source /etc/arka/arka.env
set +a
# 1. Apply PostgreSQL schema migrations explicitly (idempotent & advisory-locked)
./bin/arka migrate
# 2. Start the server
./bin/arka serveIn a second terminal, verify liveness and live dependency readiness:
# Process health (returns version, status)
curl -fsS http://127.0.0.1:8080/api/v1/health
# Live readiness (verifies PostgreSQL + default BlobStore connectivity)
curl -fsS http://127.0.0.1:8080/api/v1/readyNote on probe paths: The Arka server exposes
/api/v1/healthand/api/v1/ready. The/healthzand/readyzpaths belong to the optionalarka-scannersidecar on port:8091.
Path C · Production Kubernetes (OCI Helm Chart)
For multi-replica HA clusters, install directly from the signed OCI Helm Chart or air-gapped .tgz package:
- OCI Registry:
oci://ghcr.io/ccsert/charts/arka(version1.0.0) - Offline Chart Tarball:
arka-1.0.0.tgz - Chart Source:
deploy/helm/arka
Minimal install preview (prepare values-prod.yaml and the Secret containing ARKA_CREDENTIAL_KEY first):
helm upgrade --install arka oci://ghcr.io/ccsert/charts/arka \
--version 1.0.0 \
--namespace arka --create-namespace \
-f values-prod.yamlFollow the complete step-by-step Production Kubernetes & Storage Deployment Guide for a minimal copy-paste values-prod.yaml, required Secret & ARKA_CREDENTIAL_KEY wiring, Ingress large-upload tuning, and scanner.dbUpdater setup.
Path D · Client-Only Install (arkactl)
Install the lightweight standalone arkactl binary (~3 MB) on developer laptops or CI runners—no server files or Console bundle needed.
Direct downloads (v1.0.0):
- Linux x86_64:
arkactl-v1.0.0-linux-amd64.tar.gz - Linux ARM64:
arkactl-v1.0.0-linux-arm64.tar.gz - macOS Apple Silicon:
arkactl-v1.0.0-darwin-arm64.tar.gz - macOS Intel:
arkactl-v1.0.0-darwin-amd64.tar.gz - Windows x86_64:
arkactl-v1.0.0-windows-amd64.zip
Linux / macOS
VERSION="v1.0.0"
OS="darwin" # linux or darwin
ARCH="arm64" # amd64 or arm64
REPO="https://github.com/ccsert/arka/releases/download/${VERSION}"
curl -fsSLO "${REPO}/arkactl-${VERSION}-${OS}-${ARCH}.tar.gz"
curl -fsSLO "${REPO}/SHA256SUMS.txt"
shasum -a 256 -c --ignore-missing SHA256SUMS.txt # Linux: sha256sum -c --ignore-missing SHA256SUMS.txt
tar xzf "arkactl-${VERSION}-${OS}-${ARCH}.tar.gz"
sudo install -m 0755 bin/arkactl /usr/local/bin/arkactl
arkactl version --jsonWindows (PowerShell, amd64)
$Version = "v1.0.0"
$Repo = "https://github.com/ccsert/arka/releases/download/$Version"
Invoke-WebRequest "$Repo/arkactl-$Version-windows-amd64.zip" -OutFile "arkactl-$Version-windows-amd64.zip"
Invoke-WebRequest "$Repo/SHA256SUMS.txt" -OutFile "SHA256SUMS.txt"
# Verify SHA-256 against SHA256SUMS.txt
$expected = (Select-String -Path SHA256SUMS.txt -Pattern "arkactl-$Version-windows-amd64\.zip$").Line.Split()[0]
$actual = (Get-FileHash "arkactl-$Version-windows-amd64.zip" -Algorithm SHA256).Hash.ToLower()
if ($actual -ne $expected) { throw "SHA-256 mismatch!" }
Expand-Archive "arkactl-$Version-windows-amd64.zip" -DestinationPath "$HOME\bin\arka" -Force
& "$HOME\bin\arka\arkactl.exe" version --jsonLogin & Daily Command Cheatsheet
# Authenticate and save credentials to ~/.config/arka/config.json under profile "prod"
arkactl --url https://registry.example.com --profile prod login \
--username admin --password "$ARKA_ADMIN_PASSWORD"
# Verify session and cluster readiness
arkactl --profile prod auth whoami --json
arkactl --profile prod ready --json
# Create a repository, upload & download an artifact
arkactl --profile prod repo create --name my-raw --format raw --type hosted --json
arkactl --profile prod asset upload my-raw releases/app.bin ./app.bin
arkactl --profile prod asset download my-raw releases/app.bin ./downloaded.bin
# Inspect supported formats or license compliance
arkactl --profile prod formats list
arkactl --profile prod security licenses summary "$REPO_ID" --jsonFor CI pipelines, pass ARKA_URL and ARKA_TOKEN (using an arkat_* service token) instead of saving a profile, and append --json. Full CLI reference: Operations & arkactl Reference.
Verify Core Package Managers
If you cloned the repository via Path A · Option 2, run scripts/cli-matrix-core.sh from the repository root to verify Maven, npm, PyPI, and OCI end-to-end against a test instance:
./scripts/cli-matrix-core.sh --base-url http://127.0.0.1:18080
# Or run clients inside Docker when local Maven/pip/crane are not installed:
./scripts/cli-matrix-core.sh --docker-clients --base-url http://127.0.0.1:18080 > results.tsvFor production configuration of all 26 package formats (Maven, npm, PyPI, Docker/OCI, Go, Cargo, Helm, APT, RPM, NuGet, Hugging Face, and more), see the 26 Format Guides.