Prerequisites
- Local Administrative Access
- A Unix-Type Terminal. (Shell)
- Windows
- Powershell with WSL
- Macintosh
- Windows
- A JavaScript Installation
- Access to the Claude Code Large Language Model
- LiteLLM GenAI Account with a user-generated Virtual Key
Setup Environmental Variables
The Claude Code program will not be able to install with university credentials if these environment variables are not in place before installation.
- Open Terminal
- Windows PowerShell
$env: ANTHROPIC_BASE_URL = "https://litellm.cloud.osu.edu"
$env: ANTHROPIC_AUTH_TOKEN = "sk-your-virtual-key"
$env:ANTHROPIC_DEFAULT_OPUS_MODEL = "claude-opus-4-6"
$env:ANTHROPIC_DEFAULT_SONNET_MODEL = "claude-sonnet-4-6"
$env:ANTHROPIC_DEFAULT_HAIKU_MODEL = "claude-haiku-4-5-20251001"
$env:CLAUDE_CODE_DISABLE_EXPERIMENTAL_BETAS = "1" - Macintosh Terminal
export ANTHROPIC_BASE_URL = "https://litellm.cloud.osu.edu"
export ANTHROPIC_AUTH_TOKEN = "sk-your-virtual-key"
export ANTHROPIC_DEFAULT_OPUS_MODEL = "claude-opus-4-6"
export ANTHROPIC_DEFAULT_SONNET_MODEL = "claude-sonnet-4-6"
export ANTHROPIC_DEFAULT_HAIKU_MODEL = "claude-haiku-4-5-20251001"
export CLAUDE_CODE_DISABLE_EXPERIMENTAL_BETAS = "1"
- Windows PowerShell
Install Claude Code
Final Checks
Check that your ~/.claude/settings.json file includes the variables defined above.
Ensure the Claud Code Executable is in your system path
Windows
- Open Terminal/PowerShell:
SystemPropertiesAdvanced- Select:
[Environment Variables] → Path → [Edit] → [New] - Enter Executable Location. (Your location may differ):
%USERPROFILE%/.local/bin/ - Select:
[OK] → [OK] → [OK]
- Select:
- Restart your terminal before first use.
Macintosh
- Open Terminal
- export PATH="$PATH:/path/to/my/directory"
- Restart your terminal before first use.