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.
Your next step is to double-click on the Gurobi installer that you downloaded from our website (e.g., Gurobi-9.5.2-win64.msi for the 64-bit version of Gurobi 9.5.2).
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.5.2 files in
directory c:\gurobi952\win64. The installer gives you the option to change the
installation target. We'll refer to the installation directory as
Note that the installer can also be used to repair or remove a past 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
msiexec /i Gurobi-9.5.2-win64.msi /norestart
If you are unfamiliar with running command-line commands on a Windows system, you can learn more here.
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.