Back to Chatgpt On Wechat

One-click Install

docs/en/guide/quick-start.mdx

2.0.81.5 KB
Original Source

The project provides scripts for one-click install, configuration, startup, and management. Script-based deployment is recommended for quick setup.

Supports Linux, macOS, and Windows. Requires Python 3.7-3.12 (3.9 recommended).

Install Command

<Tabs> <Tab title="Linux / macOS"> ```bash bash <(curl -fsSL https://cdn.link-ai.tech/code/cow/run.sh) ``` </Tab> <Tab title="Windows (PowerShell)"> ```powershell irm https://cdn.link-ai.tech/code/cow/run.ps1 | iex ``` </Tab> </Tabs>

The script automatically performs these steps:

  1. Check Python environment (requires Python 3.7+)
  2. Install required tools (git, curl, etc.)
  3. Clone project to ~/CowAgent
  4. Install Python dependencies and Cow CLI
  5. Guided configuration for AI model and channel
  6. Start service

By default, the Web console starts after installation. Access http://localhost:9899 to begin chatting.

Management Commands

After installation, use the cow command to manage the service:

CommandDescription
cow startStart service
cow stopStop service
cow restartRestart service
cow statusCheck run status
cow logsView real-time logs
cow updateUpdate code and restart
cow install-browserInstall browser tool dependencies

See the Commands documentation for more details.

<Note> If the `cow` command is not available, you can use `./run.sh <command>` (Linux/macOS) or `.\scripts\run.ps1 <command>` (Windows) as a fallback. Both are functionally equivalent. </Note>