Install Nim on Windows

Manual installation

If you are not sure which version (64-bit or 32-bit) to pick, it is very likely that you want the 64-bit version (x86_64):

Download x86_64 zip SHA256

If you know what you are doing and you are sure you need a 32-bit version, you can download it below:

Download x86 zip SHA256

The installation using the provided zip files should be fairly straightforward. Simply extract the files into the desired installation directory, and run finish.exe.

Configuring the PATH environment variable

The binaries from the zip file live inside the bin directory. It is common for Nim developers to include two directories in their PATH environment variable:

The zip file includes a simple application called finish.exe that can attempt to add both directories to your PATH. This tool also checks for the presence of a C compiler and can install MingW, the GNU C compiler collection for Windows.

Compiler dependencies

The Nim compiler needs a C compiler in order to compile software. You can use finish.exe to install MinGW.

The following versions of MinGW are known to work with the latest version of Nim:

Installation using choosenim

choosenim is an installer for the Nim programming language. It allows you to easily switch between versions of Nim, whether that is the latest stable release or the latest development version.