View on GitHub

Geant4 Zero to Hero

The Definitive Guide for End Users

Home YouTube Get Geant4

There is no need to switch to Linux or Mac to run Geant4. Windows is perfectly fine to develop and run Geant4 applications. Watch this video to learn the pro’s and con’s of individual operating systems if you cannot decide.

Geant4 on Windows

Geant4 libraries can be obtained in different ways on Windows:

Install Pre-compiled Geant4 Libraries

You can easily install Geant4 libraries pre-compiled for you by the Geant4 collaboration. The process is very similar to a typical Windows program, that is, double click an installer and click next, next, …, finish. The tutorial below made in 2023 is still valid in 2025 with the following updates:

Compile Source Code of Geant4 Libraries

You can also choose to compile Geant4 libraries in your own Windows PC. In that case, you need to install Visual Studio with C++ workload and CMake before you get started.

UPDATES:

Visual Studio

Visual Studio is huge. If you want to save some disk space and download time, please follow this YouTube short.

CMake