Skip to content

Homebrew (macOS/Linux)

Install xcsh on macOS or Linux using Homebrew:

Terminal window
brew tap robinmordasiewicz/tap
brew install --cask xcsh

Upgrade to latest version:

Terminal window
brew update
brew upgrade --cask xcsh

Uninstall:

Terminal window
brew uninstall --cask xcsh

The Homebrew cask includes shell completions for bash, zsh, and fish. These are installed automatically to Homebrew’s managed directories.

Completions should work automatically if you have Homebrew’s shell environment configured. Ensure your ~/.zshrc contains:

Terminal window
eval "$(brew shellenv)"

If you’re using Oh My Zsh, completions are enabled by default. Otherwise, add to your ~/.zshrc:

Terminal window
autoload -Uz compinit && compinit

Restart your terminal and test with xcsh <TAB>.

Install bash-completion if you haven’t already:

Terminal window
brew install bash-completion@2

Add to your ~/.bash_profile or ~/.bashrc:

Terminal window
[[ -r "$(brew --prefix)/etc/profile.d/bash_completion.sh" ]] && \
. "$(brew --prefix)/etc/profile.d/bash_completion.sh"

Restart your terminal and test with xcsh <TAB>.

Completions work automatically if fish was installed via Homebrew.

Test with xcsh <TAB>.

After installation, verify xcsh is working:

Terminal window
xcsh version

Expected output:

xcsh version v2.0.7