Installation
Basic Installation
Install WYN360 CLI from PyPI using pip:
pip install wyn360-cli
System Requirements
- Python: >= 3.10, < 4.0
- Operating System: Linux, macOS, Windows
- Memory: Minimum 512MB RAM
- Storage: ~200MB for full installation with browser capabilities
Optional: Browser Use Setup
If you want to use the autonomous browsing and direct website fetching features:
# Install Playwright browser binaries (one-time setup, ~200MB)
playwright install chromium
!!! note "When do you need browser capabilities?"
- Required for: Direct URL fetching (
Read https://example.com), autonomous browsing - Not required for: Web search, all other features work without it
- Recommendation: Install if you plan to use web automation features
Verify Installation
Test your installation:
# Check if wyn360 is installed
wyn360 --help
# Expected output:
Usage: wyn360 [OPTIONS]
An intelligent AI coding assistant CLI tool powered by Anthropic Claude.
Options:
--max-token INTEGER Maximum tokens for model output
--max-internet-search-limit INTEGER Maximum internet searches per session
--help Show this message and exit.
Dependencies
WYN360 CLI automatically installs these core dependencies:
Core Framework
click>=8.1.0- CLI frameworkpydantic-ai>=1.13.0- AI agent framework with web search supportrich>=13.0.0- Terminal formatting and display
AI Provider Support
anthropic[bedrock]>=0.39.0- Anthropic Claude API client with AWS Bedrock supportgoogle-genai>=1.0.0- Google Gemini API client
Advanced Features
crawl4ai>=0.7.6- LLM-optimized web crawler for browser useplaywright>=1.40.0- Browser automation (requires separate binary install)sentence-transformers>=2.2.0- Document embeddings for semantic searchpytesseract>=0.3.10- OCR capabilitiescryptography>=42.0.0- Secure credential management
Configuration & Utils
python-dotenv>=1.2.1- Environment variable managementprompt-toolkit>=3.0.0- Advanced input handling (multi-line support)pyyaml>=6.0.0- Configuration file supporthuggingface-hub>=0.20.0- HuggingFace integration
Development Installation
For contributors or advanced users who want to install from source:
Prerequisites
- Poetry - Python dependency management
- Git - Version control
Setup Steps
-
Install Poetry (if not already installed):
curl -sSL https://install.python-poetry.org | python3 - -
Clone the repository:
git clone https://github.com/yiqiao-yin/wyn360-cli.git
cd wyn360-cli -
Install dependencies:
poetry install -
Activate the environment:
poetry shell -
Run from source:
python -m wyn360_cli.cli
# or
poetry run wyn360
Running Tests
# Skip command confirmation prompts in tests
WYN360_SKIP_CONFIRM=1 poetry run pytest tests/ -v
Next Steps
Once installed, you'll need to configure your AI provider credentials:
- Quick Start Guide → - Get up and running in 5 minutes
- Configuration → - Detailed setup and customization options
Troubleshooting
Common Issues
??? question "ImportError: No module named 'wyn360_cli'" This usually means the package wasn't installed correctly. Try:
pip uninstall wyn360-cli
pip install wyn360-cli
??? question "playwright command not found" Playwright binaries need to be installed separately:
playwright install chromium
If playwright command isn't found, try:
python -m playwright install chromium
??? question "Permission denied errors" On some systems, you may need to install with user permissions:
pip install --user wyn360-cli
??? question "Python version errors" Ensure you're using Python 3.10 or higher:
python --version
# Should show Python 3.10.x or higher
Getting Help
If you encounter issues:
- Check the GitHub Issues page
- Search existing issues or create a new one
- Include your Python version, OS, and error message
Next: Quick Start Guide →