Option A: Run simulations from a terminal (Intel-CPU)

To run a simulation on MacOS (Intel) from terminal, you need to download nextnano executables compiled for that operating system and processor, which you can find on our download page macOS and Linux.

License activation

Please refer to our documentation on License Activation.

Install Homebrew

See Homebrew documentation and install Homebrew.

Furthermore, run the following two codes as Homebrew requires:

(echo; echo 'eval "$(/usr/local/bin/brew shellenv)"') >> /Users/username/.zprofile
eval "$(/usr/local/bin/brew shellenv)"

Install gcc

Our solvers require some libraries to be present on your machine. Please run:

brew install gcc

Run simulation

Please refer to the documentation of command line arguments for the respective nextnano tool nextnano++, nextnano³, and nextnano.NEGF to learn how to invoke the executable from Terminal.


Last update: 29/01/2026