Install NEURON from the commandline non-interactively

Post Reply
bgmeulem
Posts: 1
Joined: Mon Jun 16, 2025 11:52 am

Install NEURON from the commandline non-interactively

Post by bgmeulem »

Our team has a package that requires NEURON. We have test suites set up for Linux, macOS and Windows. For Linux and macOS, NEURON is a simple PyPI dependency. For windows however, the only installation method I have found requires an interactive GUI. This is fine for user installations, but is rather annoying to test. We currently run a self-hosted github runner for Windows testing with NEURON installed, but this is not scalable. For Ci testing on a public repository, it would be useful to have access to a test runner with NEURON installed. To set this up, i'd like to ask:

1. Is it possible to install NEURON on Windows in a non-interactive way? Is there a CLI command availble, or is the interactive GUI the only viable option?
2. Apart from a non-interactive install, is there any other way in which one could test NEURON-based software on Windows in a CI setting?

Kind regards
Bjorge
hines
Site Admin
Posts: 1711
Joined: Wed May 18, 2005 3:32 pm

Re: Install NEURON from the commandline non-interactively

Post by hines »

I'm not as familiar as I'd like with all the continuous integration files but https://github.com/neuronsimulator/nrn/ ... neuron.cmd seems promising if you have downloaded the and installer. In particular

Code: Select all

:: run installer
start /b /wait .\nrn-nightly-AMD64.exe /S /D=C:\nrn_test
Post Reply