Skip to content

Install Script

Install xcsh on Linux or macOS using the universal install script.

Terminal window
curl -fsSL https://robinmordasiewicz.github.io/f5xc-xcsh/install.sh | sh
  1. Detects your operating system and architecture
  2. Downloads the appropriate binary from GitHub releases
  3. Verifies the checksum for security
  4. Installs the binary to an appropriate location
  5. Sets up shell completions for your shell
  6. Configures your PATH if needed
  • Binary: /usr/local/bin/xcsh
  • Completions: System-wide locations
  • Binary: ~/.local/bin/xcsh
  • Completions: User directories (~/.zsh/completions/, ~/.local/share/bash-completion/)

Customize the installation with these environment variables:

VariableDescriptionDefault
F5XC_NO_SUDOForce user-local installationDetect
F5XC_INSTALL_DIRCustom binary locationAuto
F5XC_VERSIONSpecific version to installLatest
Terminal window
F5XC_NO_SUDO=1 curl -fsSL https://robinmordasiewicz.github.io/f5xc-xcsh/install.sh | sh
Terminal window
F5XC_VERSION=4.39.0 curl -fsSL https://robinmordasiewicz.github.io/f5xc-xcsh/install.sh | sh

After installation, you may need to restart your shell or source your profile:

Terminal window
source ~/.zshrc # or ~/.bashrc

Verify the installation:

Terminal window
xcsh version

To uninstall, remove the binary and completions:

Terminal window
# Remove binary
rm -f ~/.local/bin/xcsh # or /usr/local/bin/xcsh
# Remove completions
rm -f ~/.zsh/completions/_xcsh
rm -f ~/.local/share/bash-completion/completions/xcsh
rm -f ~/.config/fish/completions/xcsh.fish