Nyia Keeper on macOS¶
Quick setup guide for Apple/macOS users.
Quick Install (Recommended)¶
The macOS installer handles everything automatically - Docker detection, installation guidance, and PATH configuration:
curl -fsSL https://raw.githubusercontent.com/KaizendoFr/nyia-keeper/main/scripts/install-macos.sh | bash
To install a specific version:
curl -fsSL https://raw.githubusercontent.com/KaizendoFr/nyia-keeper/main/scripts/install-macos.sh | bash -s v0.1.0-alpha.47
The installer will: 1. Check your macOS version (requires 13 Ventura or newer) 2. Detect if Docker Desktop is installed and running 3. Guide you through Docker installation if needed (Homebrew or direct download) 4. Check for Bash 4+ and offer to install via Homebrew if missing 5. Download and install Nyia Keeper 6. Configure your PATH automatically (detects zsh vs bash)
Beginner Guide¶
If you're new to Terminal:
- Open Terminal: Press
Cmd+Space, type "Terminal", press Enter - Copy the command above (triple-click to select the whole line)
- Paste in Terminal: Press
Cmd+V, then Enter - Follow the prompts - the installer will guide you
After installation, close Terminal and open a new window for the PATH changes to take effect.
Alternative Installation Methods¶
Option 1: Standard Installer¶
Note: This requires Docker Desktop to already be installed and running.
Option 2: Manual Install¶
# Clone the repository
git clone https://github.com/KaizendoFr/nyia-keeper.git ~/.local/lib/nyiakeeper
# Add to PATH (add to ~/.zshrc for persistence)
export PATH="$HOME/.local/lib/nyiakeeper/bin:$PATH"
# Make scripts executable
chmod +x ~/.local/lib/nyiakeeper/bin/nyia*
Prerequisites (if not using macOS installer)¶
-
Bash 4.0 or newer (macOS ships Bash 3.2 which is too old)
The macOS installer handles this automatically if Homebrew is available. -
Docker Desktop for Mac
- Download from: https://docs.docker.com/desktop/mac/install/
- Or via Homebrew:
brew install --cask docker -
Start Docker Desktop from Applications
-
Verify Docker is running
Note: Maintainer packaging scripts (
preprocess-runtime.sh,release.sh, etc.) are Linux-only workflow tools and are not needed on macOS end-user systems.
First Run¶
# Check installation
nyia list
# Check Claude status
nyia-claude --status
# Authenticate (one-time)
nyia-claude --login
macOS-Specific Notes¶
Config Path¶
Nyia Keeper stores configuration at ~/.config/nyiakeeper/ on all platforms (including macOS).
If you previously used a version that stored config at ~/Library/Application Support/nyiakeeper/, your data is auto-migrated on first run. The old directory is renamed to ~/Library/Application Support/nyiakeeper.migrated-from-library as a marker. If both locations contain data, existing ~/.config/nyiakeeper/ files take priority (no-clobber merge). This migration support will be removed after v0.2.x.
Docker Desktop Differences¶
Nyia Keeper automatically detects macOS (and WSL2) and adjusts:
| Feature | Native Linux | macOS / WSL2 |
|---|---|---|
| Network mode | --network host |
Bridge (default) |
| User mapping | --user $(id -u):$(id -g) |
Docker Desktop handles |
| Ollama access | localhost:11434 |
host.docker.internal:11434 |
WSL2 users have identical Docker Desktop behavior. See WSL2 Setup Guide.
File Permissions¶
Docker Desktop for Mac handles file permissions differently than Linux:
- No need for user ID mapping
- Files created in container are accessible on host
- No sudo required for most operations
Ollama for RAG (Optional)¶
If you want codebase search (RAG):
# Install Ollama
brew install ollama
# Start Ollama service
ollama serve
# Pull embedding model
ollama pull nomic-embed-text
# Configure in assistant config
echo "NYIA_RAG_MODEL=nomic-embed-text" >> ~/.config/nyiakeeper/claude.conf
# Use RAG
nyia-claude --rag
Quick Test¶
# Navigate to any git project
cd ~/your-project
# Run Claude with a prompt
nyia-claude
# Or start interactive shell
nyia-claude --shell
Troubleshooting¶
"Docker is not running"¶
- Open Docker Desktop from Applications
- Wait for it to fully start (whale icon in menu bar stops animating)
"Cannot connect to Docker daemon"¶
Slow First Run¶
- First run pulls Docker images (~1-2GB)
- Subsequent runs are fast (images cached)
Permission Denied on Scripts¶
Apple Silicon (M1/M2/M3)¶
- Docker Desktop supports Apple Silicon natively
- Images are multi-arch (amd64 + arm64)
- No special configuration needed
Common Commands¶
# List assistants
nyia list
# Use specific assistant
nyia-claude
nyia-gemini
nyia-vibe
# Check status
nyia-claude --status
# Use language flavor
nyia-claude --flavor python
nyia-claude --flavor node
# Debug mode
nyia-claude --verbose
# Interactive shell
nyia-claude --shell
Uninstall¶
To remove Nyia Keeper:
# Remove installed files
rm -rf ~/.local/lib/nyiakeeper
rm -f ~/.local/bin/nyia*
# Optional: Remove PATH from shell config
# Edit ~/.zshrc (or ~/.bash_profile) and remove the line:
# export PATH="$HOME/.local/bin:$PATH"
# Only do this if you don't use ~/.local/bin for other tools
# Optional: Remove Docker Desktop
# Open Finder → Applications → Docker → Move to Trash
# Or: brew uninstall --cask docker
Support¶
- Issues: https://github.com/KaizendoFr/nyia-keeper/issues
- Docs: https://github.com/KaizendoFr/nyia-keeper/tree/main/docs