Getting Started
Installation
Install CliFi on macOS, Linux, or Windows. Choose the method that works best for your environment.
npm (recommended)
The fastest way to get CliFi on any platform with Node.js 18 or later:
npm install -g clifiVerify the installation:
clifi --version
# clifi 2.4.1Homebrew (macOS and Linux)
If you use Homebrew, install from the official tap:
brew tap clifi/tap
brew install clifiTo upgrade:
brew upgrade clificurl installer
For CI environments or machines without a package manager:
curl -fsSL https://install.clifi.dev | shThe installer detects your platform, downloads the appropriate binary, and places it in /usr/local/bin or ~/.local/bin depending on your permissions.
Binary downloads
Pre-built binaries are available for every release on the GitHub releases page. Download the archive for your platform, extract it, and place the binary somewhere on your PATH.
| Platform | Architecture | Download |
|---|---|---|
| macOS | arm64 (Apple Silicon) | clifi-darwin-arm64.tar.gz |
| macOS | x86_64 (Intel) | clifi-darwin-amd64.tar.gz |
| Linux | x86_64 | clifi-linux-amd64.tar.gz |
| Linux | arm64 | clifi-linux-arm64.tar.gz |
| Windows | x86_64 | clifi-windows-amd64.zip |
| Windows | arm64 | clifi-windows-arm64.zip |
Docker
Run CliFi in a container without installing locally:
docker run --rm -v "$(pwd):/workspace" -w /workspace ghcr.io/clifi/clifi:latest run deployShell completion
Enable tab completion for your shell:
# Bash
clifi completion bash > /usr/local/etc/bash_completion.d/clifi
# Zsh
clifi completion zsh > "${fpath[1]}/_clifi"
# Fish
clifi completion fish > ~/.config/fish/completions/clifi.fishVerify your installation
After installation, run the built-in health check to confirm everything is set up correctly:
clifi doctor
# Checking dependencies...
# Node.js: 20.11.1
# Git: 2.43.0
# Docker: 25.1.1
# All checks passed.Next step
Now that CliFi is installed, walk through the quick start tutorial to run your first workflow.
Quick Start