Ngspice download (stable release)
All ngspice releases, starting from rework-10, can be downloaded from Sourceforge.net File Release System. Ngspice is released as a gzipped tar archive containing all source files of the simulator. They compile under various operating systems, e.g. LINUX, MS Windows, MAC, BSD, Solaris, and maybe others. Binary packages are distributed for MS Windows and MAC OS X.
- ngspice-27: this is the latest stable release. It does not contain last minute code and experimental features. This is the release intended for end-users. All sources are assembled into a tarball for download. The binary packages for MS Windows and MAC OS X are to be found here as well.
If you want to compile ngspice by yourself, download and extract the sources from the tarball. Please see file INSTALL for instructions on compilation and installation of ngspice.
Ngspice download via browser or snapshot (code under development)
- ngspice tree view of master branch: This is the master branch of the code actually under development. It contains the most recent features and has already got lots of testing. Use this link to access the individual source code files via your browser. Select 'Download Snapshot' from this page to download the complete and actual master branch source code. Check one of the 'Branches' buttons (or 'More Branches' to display all branches) to switch to another branch and then again use 'Download Snapshot'. Another development branch example is given in the next bullet point.
- ngspice MS Windows 64 bit executable: This executables are drawn from the master branch of the code actually under development. GUI and console versions as well as the ngspice dll are provided.
- ngspice tree view of branch scope-inpcom-20: This is the current development branch with very recent source code additions. Not all of them may make it into the master branch or the next stable release. Use this link to access the source code files via your browser or download the complete snapshot by 'Download snapshot'. From time to time this branch will be upgraded by a new branch. See 'More Branches' to check for a new scope-inpcom-xx branch.
Ngspice download using git (code under development)
Using 'git' offers you a way to get access to all branches and to manage them. The following command will download the complete sources from the ngspice git repository via anonymous access. You will find the ngspice top level directory as [actual directory]/ngspice, containing a complete local git repository.
git clone git://git.code.sf.net/p/ngspice/ngspice
Please see file INSTALL for instructions on compilation and installation of ngspice.
To fetch and incorporate new commits from sourceforge into your local git repository, please cd to directory ngspice and run
git pull will deny to overwrite modified files in your working directory. To drop your local changes first, you can run
git reset --hardBe careful because this command may delete your local changes!
To switch to another branch, you may issue
git fetchand then
git checkout new-branch-name
To learn more about git, which can be both powerful and difficult to master, please consult http://git-scm.com/, especially: http://git-scm.com/documentation which has pointers to documentation and tutorials.
Ngspice 32 bit
Here you will find ngspice-27 as 32 bit binaries for MS Windows. Right click on a link and store the 7z file to your harddisk. ngspice-27 32 bit contains the ngspice binaries with GUI and the shared ngspice dll.
ngspice-27 for xp contains 32 bit ngspice-27 for Windows XP. Right click on the link and store the 7z file to your harddisk. Enclosed are ngspice.exe with GUI and the shared ngspice dll plus some other dlls needed.
Ngspice experimental (only partially updated for release version 27!)
Here you will find some ngspice binaries (for MS Windows) which are provided for those interested in experimental code. Right click on a link and store the 7z file to your harddisk.
ngspice-27-adms is a ngspice-27, 64 bit binary for MS Windows with ADMS enabled. It contains the ngspice-27 binaries (GUI and console) supporting EKV, HICUM, MEXTRAM and PSP models. Sources are drawn from the ngspice-27 release version.
ngspice-27-ps contains 64 bit ngspice binaries with GUI, console and the shared ngspice dll, enabling the inclusion of PSPICE compatible device libs. Sources are drawn from the PSPICEComp3 branch at git.
ngspice-27 64 bit devel contains 64 bit ngspice binaries with GUI, console and the shared ngspice dll. Sources are drawn from the scope-inpcom-18 branch at git.
ngspice-27 64 bit utf-8 devel contains 64 bit ngspice binaries with GUI and console, with UTF-8 input and internal UNICODE wide char for I/O enabled. Sources are drawn from the utf-8+2 branch at git. In addition you will find GUIs for starting ngspice and plotting, made with Lazarus.
ngspice 32 bit klu devel contains a 32 bit ngspice binary with GUI, using the KLU matrix solver. Sources are drawn from the KLU-6+4 branch at git.
cuspice (ngspice-27 64 bit using CUDA, incl. CUDA redistributables, 24 MBit download size) contains a 64 bit ngspice binary with GUI, using the KLU matrix solver and CUDA (uses nvidia graphics card for acceleration). Sources are drawn from the CUSPICE+5 branch at git.
The ngspice tclspice package includes all libraries and files necessary to run some tcl scripts with the ngspice tclspice dll. The package has been created with a modified BLT library, which serves for plotting. If you install the tcl/tk libraries version 8.6 from ActiveState, add the VS 2008 project file to the ngspice main directory, and set the appropriate links in the project file to the tcl/tk library and headers, you may compile ngspice tclspice for MS Windows yourself.A more recent tclspice version, very experimental, is here as BLT library for VS2017, and VS 2017 project file, based on the master branch as of June 2017. Again: very experimental, not yet tested!
Ngspice download (old, obsolete stuff)
CVS repository is no longer used, still available, but may be switched down in the future.
Old releases (before rework-10), are available through this web site only (see the menu on the left), they are archived for historical purposes and are no longer maintained.