For Windows, Linux, macOS & Raspberry Pi
Learn how to install, configure, and run the Freqtrade crypto trading bot seamlessly on any platform — including Windows, Linux, macOS, and Raspberry Pi.
This guide covers Docker, Script, Manual, and Conda installation methods, with official download links, common errors, troubleshooting tips, and optimization suggestions.
🔍 What is Freqtrade?
Freqtrade is an advanced open-source cryptocurrency trading bot written in Python.
It allows traders to automate trading strategies, perform backtesting, and execute real-time trades across multiple exchanges like Binance, KuCoin, Bybit, OKX, and Kraken.
Freqtrade is designed for both beginners and developers — offering an intuitive setup, strategy flexibility, and deep technical control.
⚙️ Key Features of Freqtrade
✅ Automated Crypto Trading – Fully Python-based algorithmic trading
✅ Backtesting & Hyperopt – Optimize and test strategies before going live
✅ Telegram Integration – Manage and monitor your bot remotely
✅ Web UI Dashboard – Real-time performance and market insights
✅ Multi-Exchange Support – Works with all major crypto exchanges
✅ Customizable Strategies – Create and modify strategies using Python
✅ Active Open-Source Community – Regular updates and support
💻 Minimum System Requirements (By Operating System)
Operating System | CPU / Architecture | RAM | Storage | Other Requirements |
---|---|---|---|---|
Windows (64-bit) | x86_64 (modern CPU) | 4 GB (8 GB recommended) | 10 GB free | Python 3.7+, Visual C++ Build Tools, Git |
Linux (Ubuntu/Debian) | x86_64 / ARM | 2–4 GB (8 GB recommended) | 10 GB free | Python 3.7+, python3-dev , git , build-essential |
macOS (Intel / M1/M2) | x86_64 / ARM64 | 4 GB+ | 10 GB free | Homebrew, Command Line Tools, TA-Lib |
Raspberry Pi | ARMv7 / ARM64 | 2 GB (4 GB recommended) | 16 GB+ microSD/SSD | Docker, Miniconda (optional) |
💡 Pro Tip: For backtesting and Hyperopt, use 8 GB+ RAM and at least a quad-core CPU (Intel i5 / Ryzen 5).
🐳 Installation Using Docker (Recommended for All OS)
Docker offers a fast, isolated, and platform-independent setup.
It eliminates Python version conflicts and simplifies upgrades.
🧩 Step-by-Step Docker Setup
- Install Docker & Docker Compose
- Windows/macOS: Download Docker Desktop
- Linux: Install Docker Engine
- Install Docker Compose if not included
- Create a Working Directory
mkdir ft_userdata && cd ft_userdata
- Download Docker Compose File
curl -O https://raw.githubusercontent.com/freqtrade/freqtrade/stable/docker-compose.yml
💡 Alternative: Right-click → “Save As” →docker-compose.yml
- Pull the Latest Freqtrade Image
docker-compose pull
- Create User Data Directory
docker-compose run --rm freqtrade create-userdir --userdir user_data
- Generate Configuration File
docker-compose run --rm freqtrade new-config --config user_data/config.json
- Start Freqtrade in Detached Mode
docker-compose up -d
✅ For Raspberry Pi users:
Edit docker-compose.yml
Replace:
image: freqtradeorg/freqtrade:stable
with:
image: freqtradeorg/freqtrade:stable_pi
⚠️ Common Docker Errors & Fixes
Problem | Cause | Solution |
---|---|---|
Permission denied | User not in Docker group | sudo usermod -aG docker $USER && logout/login |
docker-compose not found | Missing package | sudo apt install docker-compose |
Container exits instantly | Invalid config file | Check logs: docker-compose logs -f |
Image downloads too slowly | DNS/network issues | Edit /etc/resolv.conf → add nameserver 8.8.8.8 |
💡 To Update Freqtrade:
docker-compose pull && docker-compose up -d
⚙️ Installation Using Setup Script (Linux/macOS)
Freqtrade provides an official setup script that automatically installs dependencies, creates a virtual environment, and installs required packages.
🧩 Setup Steps
- Install Prerequisites
- Python 3.10+
- Git
- TA-Lib (macOS users only)
- Clone Repository
git clone https://github.com/freqtrade/freqtrade.git cd freqtrade
- Run Setup Script
./setup.sh -i
- To Update Later
./setup.sh -u
⚠️ Common Errors & Fixes
Error | Cause | Fix |
---|---|---|
Permission denied | Script not executable | chmod +x setup.sh |
Python not found | Python not installed | sudo apt install python3 |
TA-Lib errors (macOS) | Missing TA-Lib | brew install ta-lib |
Virtualenv missing | Not activated | source .env/bin/activate |
🧰 Manual Installation (Advanced Users)
Manual installation offers maximum control — best for developers and custom environments.
🪟 Windows Manual Installation
- Install:
- Python 3.10+ (64-bit only)
- Visual Studio Build Tools
- Git for Windows
- Setup Freqtrade:
git clone https://github.com/freqtrade/freqtrade.git cd freqtrade python -m venv .env .env\Scripts\activate pip install -r requirements.txt pip install -e .
💡 Use only 64-bit Python. 32-bit versions are unsupported.
🐧 Linux / 🍎 macOS Manual Installation
- Install Dependencies
sudo apt update sudo apt install git python3 python3-venv python3-pip build-essential -y
- Clone Repository
git clone https://github.com/freqtrade/freqtrade.git cd freqtrade
- Create Virtual Environment
python3 -m venv .env source .env/bin/activate
- Install Freqtrade
pip install -r requirements.txt pip install -e .
💡 For macOS (M1/M2):
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
brew install ta-lib
xcode-select --install
⚠️ Common Manual Installation Errors
Error | Cause | Fix |
---|---|---|
TA-Lib not found | Missing dependency | brew install ta-lib or install Windows library |
gcc not found | Compiler missing | sudo apt install build-essential |
Command not found | venv not active | source .env/bin/activate |
🔬 Installation Using Conda (All Platforms)
Anaconda / Miniconda simplifies Python environment management.
🧩 Steps
- Download Conda
- Clone Repository
git clone https://github.com/freqtrade/freqtrade.git cd freqtrade
- Create & Activate Environment
conda create -n freqtrade python=3.10 conda activate freqtrade
- Install Dependencies
pip install -r requirements-common.txt pip install -e .
✅ Recommended for Windows & macOS (especially Apple Silicon).
⚠️ Common Conda Errors & Fixes
Problem | Cause | Solution |
---|---|---|
conda: command not found | Conda not installed | Install Miniconda |
Environment not activating | Shell not initialized | conda init bash → restart terminal |
Package conflicts | Dependency mismatch | conda update --all or recreate environment |
🧠 Best Installation Method by Platform
Platform | Recommended Method | Why |
---|---|---|
Windows | Docker + WSL2 | Simplest setup, no dependency issues |
Linux | Docker or Setup Script | Fast, stable, and native |
macOS | Docker or Conda | Avoids TA-Lib build issues |
Raspberry Pi | ARM Docker | Lightweight and stable performance |
⚡ General Troubleshooting Tips
Issue | Fix |
---|---|
Freqtrade not starting | Check logs: docker-compose logs -f |
Strategy not detected | Place strategy file in /user_data/strategies/ |
Web UI not loading | Enable "api_server": true in config.json and open http://localhost:8080 |
Backtesting too slow | Use more RAM or reduce data range |
Exchange API errors | Verify API keys and permissions in config.json |
📈 Conclusion
Installing Freqtrade in 2025 is simpler, faster, and more reliable than ever.
- 🐳 Docker → Fastest and most stable for all users
- 🧩 Conda → Best for Python users or Apple M1/M2 devices
- ⚙️ Script / Manual → Ideal for advanced users and developers
Once installed:
✅ Build and test strategies
✅ Use the Web UI for real-time tracking
✅ Connect Telegram for live trade alerts
🚀 Start trading smarter and automate your crypto strategy today!
🔗 Official Docs: https://www.freqtrade.io/en/stable/
💬 FAQ – Freqtrade Installation (2025)
The easiest and most stable method is Docker installation. It works across all platforms without dependency conflicts.
Yes! Use the ARM version of the Docker image for a smooth Raspberry Pi experience.
Freqtrade supports Python 3.7+, but Python 3.10 or newer is recommended.
Yes. Freqtrade is 100% open-source and completely free.
Run:docker-compose pull && docker-compose up -d
or./setup.sh -u
depending on your installation method.