Installation
Prerequisites
- SSH access to your target servers
- Docker or Podman installed on host machine
- sudo privileges on target servers
Install Jiji
Linux/macOS
Use the install script for a quick one-liner installation:
curl -fsSL https://get.jiji.run/install.sh | shFrom JSR
The easiest way to install Jiji is via JSR , the JavaScript Registry:
deno install --allow-all --name jiji jsr:@jiji/cliFrom Source
For development or to run the latest unreleased version:
git clone https://github.com/acidtib/jiji.git
cd jiji
deno task installWindows
- Download
jiji-windows-x86_64.exefrom releases - Rename it to
jiji.exeand move it to a folder in your PATH (e.g.,C:\Program Files\jiji\) - Add the folder to your PATH if needed:
- Open Settings → System → About → Advanced system settings
- Click Environment Variables
- Under User variables, select Path and click Edit
- Click New and add the folder containing
jiji.exe - Click OK to save
Or using PowerShell (run as Administrator):
# Download to Program Files
New-Item -ItemType Directory -Force -Path "$env:ProgramFiles\jiji"
Invoke-WebRequest -Uri "https://github.com/acidtib/jiji/releases/latest/download/jiji-windows-x86_64.exe" -OutFile "$env:ProgramFiles\jiji\jiji.exe"
# Add to PATH
[Environment]::SetEnvironmentVariable("Path", $env:Path + ";$env:ProgramFiles\jiji", "User")Server Requirements
Your target servers need:
- Linux (tested on Ubuntu 24.04, other distributions may work)
- SSH server running
- Open ports:
- 22 - SSH
- 80/443 - HTTP/HTTPS (if using proxy)
- 51820/udp - WireGuard (for private networking)
- 9280/tcp - Corrosion (for service discovery)
Verify Installation
jiji versionInitialize a Project
cd your-project
jiji initThis creates a .jiji/deploy.yml configuration file.
Initialize Servers
Before your first deployment, initialize your servers:
jiji server initThis installs:
- Container runtime (if root user)
- WireGuard for private networking
- Corrosion for service discovery
- jiji-dns for DNS resolution (resolves
{project}-{service}.jijiand{project}-{service}-{server}.jiji) - kamal-proxy for HTTP routing
Last updated on