docs/windows.md
[!NOTE] The Rust installer will offer to automatically download and install the required MSVC build tools. If you prefer a minimal install without the full Visual Studio IDE, do the following before installing Rust:
- Install Visual Studio Build Tools via winget:
winget install Microsoft.VisualStudio.BuildTools- Open the Visual Studio Installer, select Build Tools, click Modify, then under Individual components, install:
- MSVC Build Tools for x64/x86 (Latest)
- Windows 11 SDK (or Windows 10 SDK if you're on Windows 10)
Then proceed with the Rust installation above.
[!IMPORTANT] Windows ARM users: After installing rustup, run the following command in a terminal, inside the project folder:
bashrustup target add x86_64-pc-windows-msvc
pacman -S git rsync
C:\msys64\usr\bin[!NOTE] If you have native Windows apps relying on Git, e.g. the PowerShell extension posh-git, you may want to install Git for Windows and put it on the path instead, as msys Git may cause issues with them. You'll need to make sure rsync is available some other way.
Anki's source files do not need to be in a specific location, but it's best to avoid long paths, as they can cause problems. Spaces in the path may cause problems.
For info on running tests, building wheels and so on, please see Development.