🧠 Freqtrade Complete Step-by-Step Installation Guide (2025)

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 SystemCPU / ArchitectureRAMStorageOther Requirements
Windows (64-bit)x86_64 (modern CPU)4 GB (8 GB recommended)10 GB freePython 3.7+, Visual C++ Build Tools, Git
Linux (Ubuntu/Debian)x86_64 / ARM2–4 GB (8 GB recommended)10 GB freePython 3.7+, python3-dev, git, build-essential
macOS (Intel / M1/M2)x86_64 / ARM644 GB+10 GB freeHomebrew, Command Line Tools, TA-Lib
Raspberry PiARMv7 / ARM642 GB (4 GB recommended)16 GB+ microSD/SSDDocker, Miniconda (optional)

💡 Pro Tip: For backtesting and Hyperopt, use 8 GB+ RAM and at least a quad-core CPU (Intel i5 / Ryzen 5).


Docker offers a fast, isolated, and platform-independent setup.
It eliminates Python version conflicts and simplifies upgrades.

🧩 Step-by-Step Docker Setup

  1. Install Docker & Docker Compose
    • Windows/macOS: Download Docker Desktop
    • Linux: Install Docker Engine
    • Install Docker Compose if not included
  2. Create a Working Directory mkdir ft_userdata && cd ft_userdata
  3. Download Docker Compose File curl -O https://raw.githubusercontent.com/freqtrade/freqtrade/stable/docker-compose.yml 💡 Alternative: Right-click → “Save As” → docker-compose.yml
  4. Pull the Latest Freqtrade Image docker-compose pull
  5. Create User Data Directory docker-compose run --rm freqtrade create-userdir --userdir user_data
  6. Generate Configuration File docker-compose run --rm freqtrade new-config --config user_data/config.json
  7. 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

ProblemCauseSolution
Permission deniedUser not in Docker groupsudo usermod -aG docker $USER && logout/login
docker-compose not foundMissing packagesudo apt install docker-compose
Container exits instantlyInvalid config fileCheck logs: docker-compose logs -f
Image downloads too slowlyDNS/network issuesEdit /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

  1. Install Prerequisites
    • Python 3.10+
    • Git
    • TA-Lib (macOS users only)
  2. Clone Repository git clone https://github.com/freqtrade/freqtrade.git cd freqtrade
  3. Run Setup Script ./setup.sh -i
  4. To Update Later ./setup.sh -u

⚠️ Common Errors & Fixes

ErrorCauseFix
Permission deniedScript not executablechmod +x setup.sh
Python not foundPython not installedsudo apt install python3
TA-Lib errors (macOS)Missing TA-Libbrew install ta-lib
Virtualenv missingNot activatedsource .env/bin/activate

🧰 Manual Installation (Advanced Users)

Manual installation offers maximum control — best for developers and custom environments.

🪟 Windows Manual Installation

  1. Install:
    • Python 3.10+ (64-bit only)
    • Visual Studio Build Tools
    • Git for Windows
  2. 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

  1. Install Dependencies sudo apt update sudo apt install git python3 python3-venv python3-pip build-essential -y
  2. Clone Repository git clone https://github.com/freqtrade/freqtrade.git cd freqtrade
  3. Create Virtual Environment python3 -m venv .env source .env/bin/activate
  4. 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

ErrorCauseFix
TA-Lib not foundMissing dependencybrew install ta-lib or install Windows library
gcc not foundCompiler missingsudo apt install build-essential
Command not foundvenv not activesource .env/bin/activate

🔬 Installation Using Conda (All Platforms)

Anaconda / Miniconda simplifies Python environment management.

🧩 Steps

  1. Download Conda
  2. Clone Repository git clone https://github.com/freqtrade/freqtrade.git cd freqtrade
  3. Create & Activate Environment conda create -n freqtrade python=3.10 conda activate freqtrade
  4. Install Dependencies pip install -r requirements-common.txt pip install -e .

Recommended for Windows & macOS (especially Apple Silicon).


⚠️ Common Conda Errors & Fixes

ProblemCauseSolution
conda: command not foundConda not installedInstall Miniconda
Environment not activatingShell not initializedconda init bash → restart terminal
Package conflictsDependency mismatchconda update --all or recreate environment

🧠 Best Installation Method by Platform

PlatformRecommended MethodWhy
WindowsDocker + WSL2Simplest setup, no dependency issues
LinuxDocker or Setup ScriptFast, stable, and native
macOSDocker or CondaAvoids TA-Lib build issues
Raspberry PiARM DockerLightweight and stable performance

General Troubleshooting Tips

IssueFix
Freqtrade not startingCheck logs: docker-compose logs -f
Strategy not detectedPlace strategy file in /user_data/strategies/
Web UI not loadingEnable "api_server": true in config.json and open http://localhost:8080
Backtesting too slowUse more RAM or reduce data range
Exchange API errorsVerify 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)

❓ What is the easiest way to install Freqtrade?

The easiest and most stable method is Docker installation. It works across all platforms without dependency conflicts.

❓ Can I use Freqtrade on Raspberry Pi?

Yes! Use the ARM version of the Docker image for a smooth Raspberry Pi experience.

❓ Which Python version is required?

Freqtrade supports Python 3.7+, but Python 3.10 or newer is recommended.

❓ Is Freqtrade free to use?

Yes. Freqtrade is 100% open-source and completely free.

❓ How do I update Freqtrade?

Run:

docker-compose pull && docker-compose up -d
or

./setup.sh -u
depending on your installation method.

/* === code block === */ /* === FAQ DUAL GLOW LITE === */