Comprehensive cross-platform compatibility guide for Claude Code Enhanced Statusline.
| Platform | Version | Status | Installation | Notes |
|---|
| macOS | 12+ (Monterey) | โ
Full Support | brew | Homebrew recommended |
| Ubuntu | 20.04+ LTS | โ
Full Support | apt | All features tested |
| Debian | 11+ (Bullseye) | โ
Full Support | apt | Compatible with Ubuntu |
| Arch Linux | Rolling | โ
Full Support | pacman | All packages available |
| Fedora | 36+ | โ
Full Support | dnf | Modern systemd required |
| CentOS/RHEL | 8+ | โ
Full Support | dnf/yum | Enterprise tested |
| Alpine Linux | 3.16+ | โ
Full Support | apk | Lightweight containers |
| FreeBSD | 13+ | โ ๏ธ Partial | pkg | GPS features limited |
| Feature | macOS | Ubuntu | Arch | Fedora | Alpine | Notes |
|---|
| Git Integration | โ
| โ
| โ
| โ
| โ
| Universal |
| Theme System | โ
| โ
| โ
| โ
| โ
| Color support |
| TOML Configuration | โ
| โ
| โ
| โ
| โ
| Single source |
| MCP Monitoring | โ
| โ
| โ
| โ
| โ
| Claude CLI required |
| Cache System | โ
| โ
| โ
| โ
| โ
| XDG compliant |
| Feature | macOS | Ubuntu | Arch | Fedora | Alpine | Notes |
|---|
| Cost Tracking | โ
| โ
| โ
| โ
| โ ๏ธ | Requires bun/node |
| Prayer Times (API) | โ
| โ
| โ
| โ
| โ
| Internet required |
| GPS Location (Device) | โ
| โ
| โ
| โ
| โ | Platform-specific |
| Timeout Protection | โ
| โ
| โ
| โ
| โ
| Auto-detected |
| Platform | GPS Tool | Package | Installation | Accuracy |
|---|
| macOS | CoreLocationCLI | corelocationcli | brew install corelocationcli | ๐ฏ Excellent |
| Ubuntu/Debian | geoclue2 | geoclue-2-demo | apt install geoclue-2-demo | ๐ฏ Excellent |
| Arch Linux | geoclue2 | geoclue | pacman -S geoclue | ๐ฏ Excellent |
| Fedora/RHEL | geoclue2 | geoclue2-devel | dnf install geoclue2-devel | ๐ฏ Excellent |
| Alpine | geoclue2 | geoclue-dev | apk add geoclue-dev | โ ๏ธ Limited |
| FreeBSD | - | - | Not available | โ None |
| Package | macOS | Ubuntu | Arch | Fedora | Alpine | Purpose |
|---|
curl | โ
System | curl | curl | curl | curl | HTTP requests |
jq | jq | jq | jq | jq | jq | JSON parsing |
git | โ
System | git | git | git | git | Repository info |
| Package | macOS | Ubuntu | Arch | Fedora | Alpine | Purpose |
|---|
bun | bun | Manual install | AUR: bun-bin | Manual install | Manual install | Cost tracking |
python3 | โ
System | python3 | python3 | python3 | python3 | Advanced TOML |
bc | bc | bc | bc | bc | bc | Calculations |
timeout/gtimeout | coreutils | โ
System | โ
System | โ
System | โ
System | Command timeouts |
# Install dependencies
brew install jq python3 bc bun coreutils corelocationcli
# Install statusline
curl -sSfL https://raw.githubusercontent.com/rz1989s/claude-code-statusline/main/install.sh | bash
# Install dependencies
sudo apt update && sudo apt install -y jq python3 bc curl geoclue-2-demo
# Install bun (for cost tracking)
curl -fsSL https://bun.sh/install | bash
# Install statusline
curl -sSfL https://raw.githubusercontent.com/rz1989s/claude-code-statusline/main/install.sh | bash
# Install dependencies
sudo pacman -S jq python bc curl geoclue
# Install bun from AUR
yay -S bun-bin
# Install statusline
curl -sSfL https://raw.githubusercontent.com/rz1989s/claude-code-statusline/main/install.sh | bash
# Install dependencies
sudo dnf install -y jq python3 bc curl geoclue2-devel
# Install bun
curl -fsSL https://bun.sh/install | bash
# Install statusline
curl -sSfL https://raw.githubusercontent.com/rz1989s/claude-code-statusline/main/install.sh | bash
# Install dependencies
apk add jq python3 bc curl geoclue-dev
# Install bun (manual)
curl -fsSL https://bun.sh/install | bash
# Install statusline
curl -sSfL https://raw.githubusercontent.com/rz1989s/claude-code-statusline/main/install.sh | bash
| Platform | Primary | Secondary | Notes |
|---|
| macOS | gtimeout | timeout | From coreutils package |
| Linux | timeout | gtimeout | System command preferred |
| Platform | File Modification | File Size | Notes |
|---|
| macOS | stat -f %m | stat -f %z | BSD syntax |
| Linux | stat -c %Y | stat -c %s | GNU syntax |
| Platform | Primary | Secondary | Notes |
|---|
| macOS | /opt/homebrew/bin/bash | /usr/bin/bash | Homebrew first |
| Linux | /usr/bin/bash | /bin/bash | System first |
| Platform | Version | Success Rate | Test Date | Notes |
|---|
| macOS Sonoma | 14.6 | 100% | 2024-09 | All features |
| Ubuntu 22.04 LTS | 22.04.3 | 100% | 2024-09 | Full compatibility |
| Ubuntu 24.04 LTS | 24.04.1 | 100% | 2024-09 | Latest tested |
| Arch Linux | Rolling | 100% | 2024-09 | Up-to-date packages |
| Fedora | 40 | 100% | 2024-09 | Modern dependencies |
| Alpine | 3.18 | 95% | 2024-09 | GPS limited |
โ
All Core Features - 100% success across all platforms
โ
GPS Location - 100% success on macOS/Ubuntu/Arch/Fedora
โ ๏ธ GPS Location - 75% success on Alpine (permission issues)
โ
Cost Tracking - 100% success where bun available
โ
Prayer Times - 100% success with internet connectivity
- Issue: System
timeout may not be available by default
- Solution: Install
coreutils via Homebrew
- Workaround: Installer automatically detects and suggests fix
- Issue:
geoclue-2-demo requires user permission setup
- Solution: Run
sudo systemctl enable geoclue.service
- Workaround: Falls back to IP-based location
- Issue:
bun not in official repositories
- Solution: Install from AUR:
yay -S bun-bin
- Workaround: Cost tracking disabled without bun
- Issue: GPS functionality limited in containers
- Solution: Use host GPS or IP-based location
- Workaround: Set manual coordinates in config
- Issue: Package names vary between distributions
- Solution: Installer auto-detects distribution
- Workaround: Manual package installation
# Check platform detection
uname -s && cat /etc/os-release 2>/dev/null
# Test installer with debug
STATUSLINE_INSTALL_DEBUG=true curl -sSfL https://raw.githubusercontent.com/rz1989s/claude-code-statusline/main/install.sh | bash
# Manual dependency check
curl -sSfL https://raw.githubusercontent.com/rz1989s/claude-code-statusline/main/install.sh | bash -s -- --check-all-deps
# Test GPS manually (macOS)
CoreLocationCLI --format "%latitude %longitude"
# Test GPS manually (Linux)
/usr/lib/geoclue-2.0/demos/where-am-i
# Check permissions (Linux)
sudo systemctl status geoclue.service
# Fix cache permissions
chmod -R 755 ~/.cache/claude-code-statusline/
# Fix config permissions
chmod 644 ~/.claude/statusline/Config.toml
- โ
Automatic migration
- โ
Config preserved
- โ
Cache rebuilt
- โ
New GPS features enabled
- โ
Export:
~/.claude/statusline/Config.toml
- โ
Import: Copy to new system
- โ
Platform adaptation: Automatic
| Platform | Community Support | Official Testing | Long-term Support |
|---|
| macOS | โ
Active | โ
Continuous | โ
Guaranteed |
| Ubuntu LTS | โ
Active | โ
Continuous | โ
Guaranteed |
| Arch Linux | โ
Active | โ
Regular | โ
Best effort |
| Fedora | โ
Active | โ
Regular | โ
Best effort |
| Alpine | โ ๏ธ Limited | โ ๏ธ Basic | โ ๏ธ Community |
Last Updated: September 2024
Version: v2.11.5 (Cross-Platform Compatibility)
Tested By: Claude Code Team + Community Contributors
For platform-specific issues, please check our GitHub Issues or create a new issue with your platform details.