Skip to content

Installation & Getting Started

This guide will help you complete the installation and initial setup of Carry Code.


Operating SystemSupported Architectures
macOSARM64 (Apple Silicon), x64 (Intel)
Linuxx64, ARM64, musl
Windowsx64 (PowerShell)

Open your terminal and copy-paste the following command:

Terminal window
curl -fsSL https://carrycode.ai/install.sh | sudo sh

Open PowerShell (right-click Start menu → Windows PowerShell) and copy-paste:

Terminal window
irm https://carrycode.ai/install.ps1 | iex

The installation script will automatically:

  1. Detect your operating system and architecture
  2. Download the corresponding binary
  3. Verify file integrity
  4. Install to /usr/local/bin (Linux/macOS) or current directory (Windows)

After installation, run this command in your terminal:

Terminal window
carry --help

If you see the help information, the installation was successful!

Carry Code - Your AI Coding Agent
Usage:
carry [options] Start interactive mode
carry --once "prompt" Single execution mode
carry --help Show help information

Run this command in your terminal:

Terminal window
carry

On first launch, a setup wizard will guide you through:

  1. Select Language - Choose “中文” or “English”
  2. Select Theme - Light or dark theme
  3. Configure AI Model - Choose a provider and enter your API Key

Setup Wizard


An API key is like a key that allows you to use AI services. Most providers offer free trial credits.

ProviderFeaturesWhy Recommended
DeepSeekHigh cost-performanceDirect access from China, affordable
OpenAIGPT seriesComprehensive capabilities, industry-leading
AnthropicClaude seriesStrong programming capabilities
Alibaba CloudTongyi QianwenStable, reliable domestic service

DeepSeek (Recommended for China users):

  1. Visit https://platform.deepseek.com
  2. Register an account
  3. Go to “API Keys” page
  4. Click “Create API Key”
  5. Copy the key

OpenAI:

  1. Visit https://platform.openai.com
  2. Register and log in
  3. Go to “API Keys” page
  4. Create a new key

Other providers: Similar process - register and find “API Keys” in settings.


If you use VSCode, you can also install the Carry Code plugin for a better experience:

  1. Open VSCode
  2. Click “Extensions” in the sidebar
  3. Search for “carrycode”
  4. Click Install

VSCode Plugin Store Link


Solutions:

  1. Check network connection
  2. Confirm your system is supported
  3. Try manual download: visit https://carrycode.ai/releases

Solutions:

Terminal window
# Linux/macOS
sudo sh install.sh
# Windows
Run PowerShell as administrator

In Carry Code, enter:

/update

Or run the installation script again:

Terminal window
curl -fsSL https://carrycode.ai/install.sh | sudo sh