CliFi

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:

bash
npm install -g clifi

Verify the installation:

bash
clifi --version
# clifi 2.4.1

Homebrew (macOS and Linux)

If you use Homebrew, install from the official tap:

bash
brew tap clifi/tap
brew install clifi

To upgrade:

bash
brew upgrade clifi

curl installer

For CI environments or machines without a package manager:

bash
curl -fsSL https://install.clifi.dev | sh

The 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.

PlatformArchitectureDownload
macOSarm64 (Apple Silicon)clifi-darwin-arm64.tar.gz
macOSx86_64 (Intel)clifi-darwin-amd64.tar.gz
Linuxx86_64clifi-linux-amd64.tar.gz
Linuxarm64clifi-linux-arm64.tar.gz
Windowsx86_64clifi-windows-amd64.zip
Windowsarm64clifi-windows-arm64.zip

Docker

Run CliFi in a container without installing locally:

bash
docker run --rm -v "$(pwd):/workspace" -w /workspace ghcr.io/clifi/clifi:latest run deploy

Shell completion

Enable tab completion for your shell:

bash
# 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.fish

Verify your installation

After installation, run the built-in health check to confirm everything is set up correctly:

bash
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