--- title: One-click Install description: One-click install and manage CowAgent with scripts --- 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 ```bash bash <(curl -fsSL https://cdn.link-ai.tech/code/cow/run.sh) ``` ```powershell irm https://cdn.link-ai.tech/code/cow/run.ps1 | iex ``` 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 `~/chatgpt-on-wechat` 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: | Command | Description | | --- | --- | | `cow start` | Start service | | `cow stop` | Stop service | | `cow restart` | Restart service | | `cow status` | Check run status | | `cow logs` | View real-time logs | | `cow update` | Update code and restart | | `cow install-browser` | Install browser tool dependencies | See the [Commands documentation](/en/commands/index) for more details. If the `cow` command is not available, you can use `./run.sh ` (Linux/macOS) or `.\scripts\run.ps1 ` (Windows) as a fallback. Both are functionally equivalent.