Software Installation Guide

Software Installation Guide

Before using the Gurobi Optimizer, you'll need to install the software on your computer. This section covers the installation of the entire Gurobi product. If you plan to use Gurobi from Python only, you can use our pip package or our Anaconda package.

When installing the full Gurobi product, your first steps are to visit our download page, find your platform (64-bit Windows), and choose the corresponding file to download.

Make a note of the name and location of the downloaded file.

Your next step is to double-click on the Gurobi installer that you downloaded from our website (e.g., Gurobi-9.1.0-win64.msi for the 64-bit version of Gurobi 9.1.0).

Note: if you selected Run when downloading you've already run the installer and don't need to do it again.

By default, the installer will place the Gurobi 9.1.0 files in directory c:\gurobi910\win64. The installer gives you the option to change the installation target. We'll refer to the installation directory as <installdir>.

Note that the installer can also be used to repair or remove a past installation.

Command-Line Installation

You can also install Gurobi using the command-line interface to the Windows Installer. Open a cmd prompt, use cd to go to the directory that contains the Gurobi installer image, and enter the following command:

msiexec /i Gurobi-9.1.0-win64.msi /norestart

If you are unfamiliar with running command-line commands on a Windows system, you can learn more here.

Helpful tools

To work with compressed files within the Gurobi Optimizer, we recommend that you install gzip ( and/or 7zip (

You are now ready to proceed to the section on Retrieving Your Gurobi License.

If you would like an overview of the files included in the Gurobi distribution, you can also view the File Overview section.