Docker environment to build ngspice from source with a focus on command-line operations
First clone the repository:
git clone https://github.com/danchitnis/ngspice.git
cd ngspiceBuild the Docker image:
cd linux
sudo docker build -t ngspice .Run the Docker image:
docker run -it -v $(realpath .):/mnt ngspiceThis will create a new directory build which contains the generated ngspice executable
For WASM build please EEcircuit-engine
https://github.com/danchitnis/ngspice-sf-mirror