Homebrew (macOS/Linux)
Install xcsh on macOS or Linux using Homebrew:
brew tap robinmordasiewicz/tapbrew install --cask xcshUpgrade to latest version:
brew updatebrew upgrade --cask xcshUninstall:
brew uninstall --cask xcshShell Completions
Section titled “Shell Completions”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:
eval "$(brew shellenv)"If you’re using Oh My Zsh, completions are enabled by default. Otherwise, add to your ~/.zshrc:
autoload -Uz compinit && compinitRestart your terminal and test with xcsh <TAB>.
Install bash-completion if you haven’t already:
brew install bash-completion@2Add to your ~/.bash_profile or ~/.bashrc:
[[ -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>.
Verify Installation
Section titled “Verify Installation”After installation, verify xcsh is working:
xcsh versionExpected output:
xcsh version v2.0.7