AI Programming Environment Setup Guide
This document provides detailed instructions on how to set up a complete AI programming development environment, including tool installation, configuration optimization, and troubleshooting common issues.
System Requirements
Operating System Support
- Windows 10/11 or higher
- macOS 12.0 or higher
- Linux Ubuntu 20.04 or higher
Hardware Requirements
- RAM: 16GB or higher recommended
- Storage: At least 50GB of free space
- Network: Stable internet connection
Installation Steps
1. Install Codely CLI
Windows (PowerShell)
npm install -g @unity-china/codely-cli
macOS/Linux
npm install -g @unity-china/codely-cli
2. Configure Environment Variables
Windows
# Add Tuanjie AI to Path
$env:Path += ";C:\Users\<username>\AppData\Roaming\npm"
# Set API key (if needed)
$env:CODELY_TOKEN = "your-api-token"
macOS/Linux
# Add to bash_profile or zshrc
export PATH="$PATH:$HOME/.npm-global/bin"
# Set API key
export CODELY_TOKEN="your-api-token"
3. Verify Installation
codely --version
codely --help