Skip to main content

Overview

Claude Code is a command-line AI assistant that helps with coding tasks. By integrating with Starrise AI, you can access powerful AI models directly from your terminal for code generation, debugging, and analysis.

Prerequisites

  • macOS or Linux (or WSL on Windows)
  • Terminal access with a bash shell
  • A valid Starrise AI API key
  • Internet connection

Environment Variable Setup

Configure the required environment variables in your shell profile (.bashrc, .zshrc, or .profile):

Apply Configuration

Start Claude Code

Method 2: OpenAI Compatible Mode

Add to your shell profile:

Switching Models

To change the model, update the environment variable:

Tips

  • Use specific, detailed prompts for better code suggestions.
  • Break complex tasks into smaller, manageable requests.
  • Review generated code before implementing it.
  • Monitor your usage in the Starrise AI Console.

Troubleshooting

Authentication Error:
Model Not Found:
Connection Issues: