Skip to content
Get Started
On this page
  1. 1. Install & Verify
  2. 2. Drop-In Replacement for git & IDEs (VS Code / JetBrains / Lazygit)
  3. 3. Self-Hosted Team Forge (arks serve)

Quickstart & Migration

Switch to arks in under 5 minutes without changing your existing .git repositories.

1. Install & Verify

# Linux / macOS
curl -fsSL https://raw.githubusercontent.com/modootoday/arks/main/scripts/install.sh | bash

# Verify (or auto-fix) your environment
arks doctor
arks doctor --fix

# Migrate an existing remote repository into a local arks workspace
arks migrate --from-url https://github.com/org/repo.git

Enable shell tab-completion:

# bash
eval "$(arks completion bash)"
# zsh
eval "$(arks completion zsh)"
# fish
arks completion fish | source

2. Drop-In Replacement for git & IDEs (VS Code / JetBrains / Lazygit)

Create safe drop-in symlinks (git and gh pointing to arks):

arks shim install

Under git personality (git --version), arks reports git version 2.39.5.arks.<version>, so IDEs and CI tools checking git >= 2.20 work automatically.

3. Self-Hosted Team Forge (arks serve)

Host a single repository (HTTP Git + LFS + Embedded Forge Web UI + Unified /api/v1/):

arks serve --listen 127.0.0.1:8080 ./my-repo.git

Host multiple repositories with the embedded Forge Web UI, RBAC, and browser repository creation:

arks serve --root /srv/git-repos --listen 127.0.0.1:8080
  • First user to visit /register receives the admin role and enables RBAC (admin / maintainer / reader) across Web UI and /api/v1/*.
  • Add --no-ssh --no-forge only when you want bare Smart HTTP Git transport without SSH or the embedded forge.
  • Authorize CLI clients against your own self-hosted server via RFC 8628 OAuth Device Flow (/login/device/code and /login/device).
  • Enable opt-in local .arks/workflows/*.yml execution with --allow-local-actions.

Edit this page

Back to top