Skip to main content

Install OpenCLIs

One Line

curl -fsSL https://openclis.com/install.sh | sh
Supported platforms:
  • macOS ARM (M1/M2/M3/M4)
  • macOS Intel
  • Linux x64
  • Linux ARM
  • Windows x64

What It Does

  1. Detects your platform
  2. Downloads the binary from cdn.openclis.com
  3. Installs to ~/.openclis/bin/openclis
  4. Tells you to add ~/.openclis/bin to PATH

Manual Install

macOS (ARM)

curl -fsSL https://cdn.openclis.com/openclis/0.2.0/openclis-darwin-aarch64.tar.gz -o openclis.tar.gz
tar -xzf openclis.tar.gz
mv openclis ~/.openclis/bin/
chmod +x ~/.openclis/bin/openclis

Linux (x64)

curl -fsSL https://cdn.openclis.com/openclis/0.2.0/openclis-linux-x86_64.tar.gz -o openclis.tar.gz
tar -xzf openclis.tar.gz
mv openclis ~/.openclis/bin/
chmod +x ~/.openclis/bin/openclis

Windows (x64)

Invoke-WebRequest -Uri https://cdn.openclis.com/openclis/0.2.0/openclis-windows-x86_64.zip -OutFile openclis.zip
Expand-Archive openclis.zip -DestinationPath $HOME\.openclis\bin

Add to PATH

bash / zsh

echo 'export PATH="$HOME/.openclis/bin:$PATH"' >> ~/.zshrc
source ~/.zshrc

fish

fish_add_path ~/.openclis/bin

Windows (PowerShell)

[Environment]::SetEnvironmentVariable("Path", "$HOME\.openclis\bin;" + $env:Path, "User")

Verify

openclis --version
# openclis 0.2.0

First Steps

# See what's available
openclis search "code search"

# Learn a tool before using it
openclis init ripgrep

# Install it
openclis install @github/ripgrep

Update

openclis does not self-update yet. Re-run the install script:
curl -fsSL https://openclis.com/install.sh | sh

Uninstall

rm -rf ~/.openclis
Remove the PATH line from your shell profile.

File Layout

~/.openclis/
├── bin/              ← Binaries (on PATH)
│   ├── openclis
│   ├── rg → ../versions/ripgrep/...
│   └── fd → ../versions/fd/...
├── versions/         ← Installed tool versions
├── state.json        ← Install receipts
└── initiate.md       ← Generated tool guide