Requirements
Python Version: 3.8 or higher
Supported Platforms: macOS, Linux, Windows
Supported Platforms: macOS, Linux, Windows
Install via pip
The recommended way to install Refactron is using pip:Development Version
To install the latest development version from GitHub:Verify Installation
Check that Refactron is installed correctly:Optional: Install Development Dependencies
If you plan to contribute to Refactron:- Create a virtual environment
- Install all dependencies (including dev tools)
- Set up pre-commit hooks
- Run initial tests
Dependencies
Refactron automatically installs these dependencies:Core Dependencies
Core Dependencies
- libcst - Code parsing and transformation
- click - CLI framework
- rich - Terminal formatting
- radon - Complexity metrics
- astroid - AST analysis
AI & RAG Dependencies
AI & RAG Dependencies
- chromadb - Vector database for RAG
- tree-sitter - Code parsing
- sentence-transformers - Embeddings
- groq - LLM integration
- pydantic - Data validation
Troubleshooting
Permission Denied
Permission Denied
If you get a permission error, try:
Python Version Issues
Python Version Issues
Ensure you’re using Python 3.8+:If needed, use a specific Python version:
SSL Certificate Errors
SSL Certificate Errors
On macOS, you may need to install certificates:
Next Steps
Configuration
Configure Refactron for your project
