In the terminal, let Claude understand, modify, and run your project.
Install Anthropic’s official Claude Code, connect Claude models through the OmniDino Anthropic Messages gateway, and complete development, debugging, testing, Git workflows, MCP integrations, and automation tasks in real repositories.
Claude Code is not an ordinary chatbot.
It can read an entire codebase, make changes across files, run commands, and keep working toward a development goal.
You describe the goal. Claude Code explores, plans, and executes.
It can explain project structure, trace the root cause of errors, implement features, write tests, fix failures, and handle Git workflows. Because it has file and command permissions, define clear project rules and permission boundaries before serious use.
Every downloadable tool links to a GitHub project.
Anthropic Claude Code
Anthropic’s official Claude Code repository, with installation instructions, plugins, examples, and issue reporting.
CC Switch
A cross-platform, open-source configuration manager that can store the OmniDino Base URL, API Key, and model settings for Claude Code.
Git
Claude Code uses Git to manage diffs, branches, commits, and rollbacks in real repositories.
Visual Studio Code
An optional open-source editor for reviewing files, diffs, terminal output, and changes made by Claude Code.
Choose the command that matches your terminal.
Windows PowerShell
Use Anthropic’s official PowerShell installer.
claude --version after installation.irm https://claude.ai/install.ps1 | iex
claude --version
Windows CMD
CMD and PowerShell use different commands. Do not mix them.
curl -fsSL https://claude.ai/install.cmd -o install.cmd && install.cmd && del install.cmd
claude --version
macOS, Linux, or WSL
Use Anthropic’s official shell installer.
claude.curl -fsSL https://claude.ai/install.sh | bash
claude --version
Homebrew
macOS and Linux environments with Homebrew support can install Claude Code through Cask.
brew install --cask claude-code
# Upgrade later
brew upgrade claude-code
Windows WinGet
Install Claude Code through Windows Package Manager.
winget install Anthropic.ClaudeCode
# Upgrade later
winget upgrade Anthropic.ClaudeCode
Claude Code uses the Messages gateway.
OmniDino Keys are sent as Bearer tokens, so ANTHROPIC_AUTH_TOKEN is recommended.
OmniDino Parameters
Claude Code appends the Anthropic Messages paths to the Base URL. Enter the root address here without adding /v1.
ANTHROPIC_API_KEY only when your gateway explicitly requires x-api-key. For standard OmniDino Bearer Keys, use ANTHROPIC_AUTH_TOKEN.
{
"env": {
"ANTHROPIC_BASE_URL": "https://api.omnidino.com",
"ANTHROPIC_AUTH_TOKEN": "PASTE_YOUR_OMNIDINO_API_KEY",
"ANTHROPIC_MODEL": "ENTER_THE_ACTUAL_CLAUDE_MODEL_NAME"
}
}
.claude/settings.json. Use the user-level ~/.claude/settings.json or a session environment variable. On Windows, the path is %USERPROFILE%\.claude\settings.json.
export ANTHROPIC_BASE_URL="https://api.omnidino.com"
export ANTHROPIC_AUTH_TOKEN="PASTE_YOUR_OMNIDINO_API_KEY"
export ANTHROPIC_MODEL="ENTER_THE_ACTUAL_CLAUDE_MODEL_NAME"
claude
Check /status before starting a real task.
Check inside Claude Code
Launch Claude Code from the same terminal where you set the environment variables.
/status, you should see the OmniDino Anthropic Base URL and ANTHROPIC_AUTH_TOKEN as the authentication source.
Read only the README file in the current project.
Explain the purpose of this project in three sentences.
Do not modify any files or run dangerous commands.
Store project rules in a file Claude reads every session.
Add CLAUDE.md to the project root to record architecture constraints, coding standards, test commands, and prohibited actions.
Project Context
Describe the project purpose, technology stack, directory structure, and key modules.
Coding Standards
Define formatting, naming, component patterns, error handling, and comment style.
Safety Boundaries
Specify protected files, prohibited commands, and sensitive directories.
Test Commands
Tell Claude which tests, lint checks, and build commands to run after changes.
Git Rules
Define branch policy, commit messages, diff review, and restrictions on direct pushes.
Output Format
Require a plan first, a list of risks, a summary of changes, and verification results.
# Project Instructions
## Project
- This is the OmniDino website and documentation project.
- Keep the existing visual style and page structure.
- Prefer minimal, targeted changes.
## Coding Rules
- Use readable HTML, CSS and vanilla JavaScript.
- Keep all page classes scoped to the current page prefix.
- Preserve mobile responsiveness.
- Do not remove existing working sections without approval.
## Safety
- Never expose API keys, passwords or private configuration.
- Do not edit production credentials.
- Do not run deployment, database deletion or destructive commands without approval.
## Verification
- Review the final diff.
- Check desktop and mobile layouts.
- Confirm links and copy buttons work.
- Report every file changed and the reason.
Connect Claude Code to external tools and data.
MCP is an open standard for connecting AI tools to external services. Add only MCP Servers that you understand and trust.
Filesystem
Read and manage files only within approved directories.
GitHub
Read repositories, Issues, pull requests, and code-review information.
Playwright
Test websites, automate browser actions, and inspect interface results.
Database
Query and analyze controlled databases without granting write access to production data.
Docker
Read container status and logs. Grant create, delete, and exec permissions cautiously.
Custom Tools
Wrap internal APIs, documentation systems, and business tools as MCP services.
# Open MCP management inside Claude Code
/mcp
# View MCP CLI help
claude mcp --help
# Run Claude Code itself as an MCP Server
claude mcp serve
ANTHROPIC_AUTH_TOKEN with the OmniDino Gateway, cloud Connectors configured in a Claude.ai account may not load automatically. Configure the required MCP Servers separately in Claude Code.
Run checks automatically throughout the Claude Code lifecycle.
Hooks can run shell commands, HTTP requests, or prompts for notifications, formatting, testing, and security controls.
PreToolUse
Check commands, paths, or permissions before a tool runs.
PostToolUse
Format files, run lint checks, or write logs after changes.
Notification
Send a desktop notification when Claude waits for input or approval.
Stop
Run summaries, checks, or result archiving when a task finishes.
Automated Tests
Run tests after important changes to expose errors early.
Safety Blocking
Block dangerous commands, sensitive paths, and actions that violate rules.
{
"hooks": {
"Notification": [
{
"matcher": "",
"hooks": [
{
"type": "command",
"command": "osascript -e 'display notification \"Claude Code needs your attention\" with title \"Claude Code\"'"
}
]
}
]
}
}
env or other configuration, merge the JSON fields instead of replacing the entire file. Notification commands differ on Windows, Linux, and macOS.
Use the output of claude –help on your machine as the source of truth.
| Command | Purpose | Notes |
|---|---|---|
claude | Start interactive Claude Code. | Enter the correct project directory first. |
claude --version | Show the version. | Record it during troubleshooting. |
claude --help | Show commands and options. | Features may change between versions. |
claude -p "TASK" | Run a one-off task in print mode. | Useful for scripts, pipelines, and CI. |
claude mcp --help | Show MCP management commands. | Use them to add, inspect, and manage MCP. |
claude mcp serve | Run Claude Code as an MCP Server. | Allows other MCP clients to connect. |
/status | Check the Base URL and authentication source. | Verify that requests actually use OmniDino. |
/model | View or select the model. | Available models depend on gateway and configuration. |
/permissions | View tool-permission rules. | Manage allow, ask, and deny behavior. |
/mcp | Open MCP management. | Review connection status and server sources. |
/bug | Report an issue to the Claude Code project. | You can also submit a GitHub Issue. |
From installation to your first real engineering task.
Install Git and Claude Code
Confirm the installation method in the official GitHub project, then verify the version.
Create an OmniDino API Key
Create a dedicated token for Claude Code and set sensible spending and model permissions.
Configure Gateway Environment Variables
Set ANTHROPIC_BASE_URL, ANTHROPIC_AUTH_TOKEN, and the exact Claude model name.
Verify /status
Confirm that the Anthropic Base URL shows OmniDino and authentication uses ANTHROPIC_AUTH_TOKEN.
Create CLAUDE.md
Record project context, coding standards, safety boundaries, test commands, and review requirements.
Add MCP and Hooks as Needed
Add only trusted tools, starting with low-risk functions such as notifications, formatting, and tests.
Run a Task in a Test Repository
First ask Claude to read the README, explain the structure, or complete a small reviewable change.
Review the Diff and OmniDino Usage
Confirm that file changes, command execution, request logs, and balance changes match expectations.
Troubleshoot connection problems one item at a time.
Still unable to connect Claude Code?
Provide the operating system, Claude Code version, installation method, Base URL, authentication variable name, model name, HTTP status code, and complete error message. Hide the API Key.
[email protected]