Easily set up local development tools for coding with an AI assistant. This script handles the installation of:
- Ollama (runtime + models)
- GPT-OSS model (via Ollama)
- Claude Code CLI
Run the installer (native installs):
bash <(curl -fsSL https://raw.githubusercontent.com/phioranex/Claude-code-local/main/install.sh)Use the PowerShell helper which downloads and runs the Ollama installer and attempts a WSL-based Claude install when possible:
Set-ExecutionPolicy Bypass -Scope Process -Force; .\install-windows.ps1Note: the official Claude bootstrap currently supports macOS/Linux; the Windows script will attempt a WSL install if WSL is present.
The script will:
- install Ollama if missing
- start or ensure Ollama is serving on
127.0.0.1:11434 - pull
gpt-ossinto Ollama (this is a large download and may take time) - install the
claudeCLI and add~/.local/binto your shell rc (or create/usr/local/bin/claudevia sudo)
- Node.js and Python 3 are recommended but not strictly required. The installer will warn if they're missing, but will continue.
- No Docker dependency is required for Ollama to operate in this workflow.
- Verify Ollama is running and chat with the model:
ollama chat gpt-oss- Check installed models:
ollama list
ollama show gpt-oss- Verify
claudeCLI:
claude --help- Launch Claude via Ollama (if the integration is available):
ollama launch claude- Model download size:
gpt-ossis large (~13 GB). If the pull is interrupted, rerun the installer or runollama pull gpt-ossand wait — the script now waits for the model to finish installing. - If the installer reports the Ollama app started but
ollamais not in your PATH, try opening a new shell or run:
# macOS: start the app bundle
open -a Ollama --args hidden
# or run the binary directly (if present)
/Applications/Ollama.app/Contents/Resources/ollama --help- If
~/.localis owned by root the script will attempt to fix ownership withsudo; if that fails you can fix manually:
sudo chown -R $(id -u):$(id -g) $HOME/.local- On macOS the script will try to create a global symlink
/usr/local/bin/claude(requires sudo) soclaudeis available to new shells immediately. If that fails, add~/.local/binto your shell rc (e.g.~/.zshrc).
- Windows native Claude install is not available in the official bootstrap. For a full native experience install WSL and rerun the installer inside WSL, or use the provided
install-windows.ps1which attempts a WSL-based installation.
This project is open-source under the MIT License.