Homebrew (macOS/Linux)¶
Install xcsh on macOS or Linux using Homebrew:
Example output:
==> Caveats
xcsh has been installed.
Shell completions have been installed for bash, zsh, and fish.
You may need to restart your shell or source your shell config.
For setup instructions, see:
https://robinmordasiewicz.github.io/f5xc-xcsh/install/homebrew/
Quick start:
xcsh --help
==> Downloading https://github.com/robinmordasiewicz/f5xc-xcsh/releases/download/v2.0.9-2601051439/xcsh_v2.0.9-2601051439_darwin_arm64.tar.gz
==> Downloading from https://release-assets.githubusercontent.com/github-production-release-asset/1109354935/8c7b1eee-4f66-4c2e-8392-0e29603f7379?sp=r&sv=2018-11-09&sr=b&spr=https&se=2026-01-05T15%3A39%3A10Z&rscd=attachment%3B+filename%3Dxcsh_v2.0.9-2601051439_darwin_arm64.tar.gz&rsct=application%2Foctet-stream&skoid=96c2d410-5711-43a1-aedd-ab1947aa7ab0&sktid=398a6654-997b-47e9-b12b-9515b896b4de&skt=2026-01-05T14%3A38%3A17Z&ske=2026-01-05T15%3A39%3A10Z&sks=b&skv=2018-11-09&sig=%2FlMZKngU0lF44gzq6f0lmISbyrQnhp8XZhtYLDVRCKw%3D&jwt=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmVsZWFzZS1hc3NldHMuZ2l0aHVidXNlcmNvbnRlbnQuY29tIiwia2V5Ijoia2V5MSIsImV4cCI6MTc2NzYyNjI4NSwibmJmIjoxNzY3NjI0NDg1LCJwYXRoIjoicmVsZWFzZWFzc2V0cHJvZHVjdGlvbi5ibG9iLmNvcmUud2luZG93cy5uZXQifQ.K-VjjXCXAeOD6k9dIgvK0nTChSizRUslvTwdItfu5Uk&response-content-disposition=attachment%3B%20filename%3Dxcsh_v2.0.9-2601051439_darwin_arm64.tar.gz&response-content-type=application%2Foctet-stream
==> Installing Cask xcsh
==> Linking Binary 'xcsh' to '/opt/homebrew/bin/xcsh'
🍺 xcsh was successfully installed!
Upgrade to latest version:
Uninstall:
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:
If you're using Oh My Zsh, completions are enabled by default. Otherwise, add to your ~/.zshrc:
Restart your terminal and test with xcsh <TAB>.
Install bash-completion if you haven't already:
Add 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>.
Troubleshooting Completions
If completions don't work after setup:
- Ensure you've restarted your terminal
- For zsh, try running
rm -f ~/.zcompdump*then restart - Verify completions are installed:
ls $(brew --prefix)/share/zsh/site-functions/_xcsh
Verify Installation¶
After installation, verify xcsh is working:
Expected output: