Installation
Lacy Shell installs to ~/.lacy and hooks into your shell by adding a singlesource line to your shell config file.
Prerequisites
- ZSH or Bash 4+ — macOS default is Bash 3.2; upgrade with
brew install bash - An AI CLI tool installed and working: lash, claude, opencode, gemini, codex, hermes, or a custom command. Lacy will prompt to install lash if none is detected.
- Internet access for the curl/npx methods
curl (recommended)
One-line install. Downloads directly from lacy.sh and runs the bash installer:
curl -fsSL https://lacy.sh/install | bashThe installer detects your shell (ZSH or Bash), adds the source line to the correct config file, and optionally runs interactive setup.
Homebrew
brew install lacymorrow/tap/lacyUpdates via brew upgrade lacy.
npx
Runs the Node-based interactive installer with a rich CLI UI:
npx lacyNode.js 18+ required. Falls back to the bash installer if Node is unavailable.
Manual (git clone)
git clone https://github.com/lacymorrow/lacy.git ~/.lacy
# ZSH:
echo 'source ~/.lacy/lacy.plugin.zsh' >> ~/.zshrc
# Bash:
echo 'source ~/.lacy/lacy.plugin.bash' >> ~/.bashrcThen reload your shell: source ~/.zshrc or open a new terminal.
Verifying the install
lacy statusShows the installed version, active AI tool, and current mode.
lacy doctorDiagnoses common issues — missing AI tool, misconfigured shell, etc.
Updating
lacy updatePulls the latest changes from GitHub and reloads the plugin.
Uninstalling
lacy uninstallRemoves ~/.lacy and the source line from your shell config. Uses the Node UI if available, or the bash fallback.
Shell config files
Lacy adds one line to your shell config. The location depends on your shell:
| Shell | Config file | Line added |
|---|---|---|
| ZSH | ~/.zshrc | source ~/.lacy/lacy.plugin.zsh |
| Bash | ~/.bashrc or ~/.bash_profile | source ~/.lacy/lacy.plugin.bash |