Files
freqtrade/docs/windows_installation.md
2025-08-14 10:22:50 +02:00

2.3 KiB

Windows installation

We strongly recommend that Windows users use Docker as this will work much easier and smoother (also more secure).

If that is not possible, try using the Windows Linux subsystem (WSL) - for which the Ubuntu instructions should work. Otherwise, please follow the instructions below.

All instructions assume that python 3.11+ is installed and available.

Clone the git repository

First of all clone the repository by running:

git clone https://github.com/freqtrade/freqtrade.git

Now, choose your installation method, either automatically via script (recommended) or manually following the corresponding instructions.

Install freqtrade automatically

Run the installation script

The script will ask you a few questions to determine which parts should be installed.

Set-ExecutionPolicy -ExecutionPolicy Bypass
cd freqtrade
. .\setup.ps1

Install freqtrade manually

!!! Note "64bit Python version" Please make sure to use 64bit Windows and 64bit Python to avoid problems with backtesting or hyperopt due to the memory constraints 32bit applications have under Windows. 32bit python versions are no longer supported under Windows.

!!! Hint Using the Anaconda Distribution under Windows can greatly help with installation problems. Check out the Anaconda installation section in the documentation for more information.

Error during installation on Windows

error: Microsoft Visual C++ 14.0 is required. Get it with "Microsoft Visual C++ Build Tools": http://landinghub.visualstudio.com/visual-cpp-build-tools

Unfortunately, many packages requiring compilation don't provide a pre-built wheel. It is therefore mandatory to have a C/C++ compiler installed and available for your python environment to use.

You can download the Visual C++ build tools from here and install "Desktop development with C++" in it's default configuration. Unfortunately, this is a heavy download / dependency so you might want to consider WSL2 or docker compose first.

Windows installation