macOS
brew install ngspicelocal Homebrew formula metadata
sudo port install ngspiceMacPorts ports tree · science/ngspice/Portfile · Quelle: api.github.com
brew
Prüfe Installationswege, Executables, Metadaten und Sicherheitshinweise für ngspice in AI-Agent-Workflows.
Installation
brew install ngspicelocal Homebrew formula metadata
sudo port install ngspiceMacPorts ports tree · science/ngspice/Portfile · Quelle: api.github.com
sudo apk add ngspiceAlpine Linux edge package indexes · ngspice · Quelle: dl-cdn.alpinelinux.org
sudo apt install ngspiceDebian stable package indexes · ngspice · Quelle: deb.debian.org
sudo dnf install ngspiceFedora Rawhide package metadata · ngspice · Quelle: dl.fedoraproject.org
nix profile install nixpkgs#ngspicenixpkgs package indexes · ngspice · Quelle: raw.githubusercontent.com
sudo pacman -S ngspiceArch Linux sync databases · ngspice · Quelle: geo.mirror.pkgbuild.com
sudo zypper install ngspiceopenSUSE Tumbleweed package metadata · ngspice · Quelle: download.opensuse.org
choco install ngspiceChocolatey community package catalog · ngspice · Quelle: community.chocolatey.org
scoop install extras/ngspiceScoop official bucket manifest trees · bucket/ngspice.json · Quelle: api.github.com
Überblick
Spice circuit simulator
Verlauf
ngspice is the open-source continuation of the Berkeley SPICE circuit-simulation lineage. It is a command-line and library-capable simulator for analog, digital, mixed-signal, and mixed-level electronic circuits, with a long release history and broad packaging across Unix-like systems, Windows channels, and EDA workflows.
The ngspice manual says the project is an update of Spice3f5, the last Berkeley release of the Spice3 simulator family, developed to add features and fix bugs. The same manual describes the project as assembled from Spice3f5, XSPICE, CIDER, and original ngspice material, with Paolo Nenzi's first manual preface dated March 24, 2001.
The project inherited Spice3 and CIDER from the University of California at Berkeley and XSPICE from Georgia Tech. Its early 2000s 'ng-spice-rework' releases show the transition from cleanup and bug fixing into a simulator with XSPICE mixed-signal support, CIDER mixed-level simulation, model updates, Windows/MINGW support, and broader portability.
Release 46 was distributed in March 2026; the version 46 manual is dated March 31, 2026. The SourceForge download page listed ngspice-46 as the latest release, and Homebrew packaged stable version 46 from SourceForge.
ngspice is the significant package in this batch. It is packaged by Homebrew, MacPorts, Debian/Ubuntu, Fedora, Arch, Nix, openSUSE, Chocolatey, Scoop, and Alpine-family repositories in the av.db input. Homebrew analytics on July 1, 2026 reported 2,500 install-on-request events over 365 days, and SourceForge showed weekly downloads for release 46 and old releases.
Its adoption is helped by compatibility rather than novelty. The project advertises SPICE compatibility, support for PSPICE/LTSPICE model parameters and netlists for discrete circuits, HSPICE device libraries from foundry PDKs for integrated circuits, and third-party schematic/simulation front ends. That makes it a common open simulation engine under GUI and scripted EDA workflows.
The normal package-nerd use is to install `ngspice`, feed it a SPICE netlist from the command line, run DC, AC, transient, noise, pole-zero, sensitivity, distortion, S-parameter, or mixed-signal analyses, and inspect plots or raw output files. More advanced users build it as a shared library or integrate it through tools such as KiCad, Xschem, Qucs-S, PySpice, or Tcl/Tk-related tooling.
The practical reason people care about the package is that it is the free, scriptable SPICE engine that package managers can ship everywhere. It sits in a lineage older than most package ecosystems, but remains active because open PDKs, Verilog-A/OpenVAF model loading, mixed-signal code models, and simulator-library embedding keep generating new use cases.
Sicherheitslage
narrow executable package without higher-risk signals.
grün Risiko · niedrig Konfidenz · appliance
Prüfe vor unbeaufsichtigter Agent-Nutzung, ob das Tool Klartext-Credentials liest, Remote-Zustand schreibt, Artefakte veröffentlicht oder Plugins ausführt.
Executables
| Befehl | Art | Sichtbarkeit | Hinweis |
|---|---|---|---|
ngspice | cli | globales Executable |
Aktualität
Diese Signale trennen das Alter der Seitengenerierung, Aktivität des Paketmanagers und Upstream-Release-Vergleich. Versionsrückstand wird nur gemeldet, wenn eine Evidenz-URL und vergleichbare Versionen vorhanden sind.
https://ngspice.sourceforge.io/
Installationsmetadaten
| Paketschlüssel | brew:ngspice |
|---|---|
| Version | 46 |
| Paketmanager | Homebrew |
| Paketmanager-Seite | https://formulae.brew.sh/formula/ngspice |
| Homepage | https://ngspice.sourceforge.io/ |
| Repository | https://sourceforge.net/p/ngspice/ngspice/ci/master/tree |
| Upstream-Dokumentation | https://ngspice.sourceforge.io/docs.html |
| Lizenz | LicenseRef-Homebrew-cannot-represent |
| Quellarchiv | https://downloads.sourceforge.net/project/ngspice/ng-spice-rework/46/ngspice-46.tar.gz |
| Zuletzt aktualisiert | 2026-06-25T13:37:57+02:00 |
| Pulse | updated |
| Abhängigkeiten | fftw, freetype, libice, libngspice, libsm, libx11, libxaw, libxext, libxmu, libxt, readline |
| Von macOS bereitgestellte Bibliotheken | ncurses |
| Bottle | verfügbar (auf arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux) |
| Homebrew post-install | nicht definiert |
| Dienst | keiner deklariert |
| Einschränkungen | If you need the graphical plotting functions you need to install X11 with: brew install --cask xquartz |
Registry-Fakten
| Source Database | Homebrew formula API |
|---|---|
| Tap | homebrew/core |
| Full Name | ngspice |
| Version Scheme | 0 |
| Revision | 1 |
| Head Version | HEAD |
| Bottle Stable Root URL | https://ghcr.io/v2/homebrew/core |
| Deprecated | no |
| Disabled | no |
| Keg Only | no |
| URL Keys |
|
Source-Datenbank-Treffer
Treffer stammen aus externen Paketmanager-Indizes und bleiben von lokalen Automic-Vault-Paketlinks getrennt.
libngspice0 44.2+ds-1
Spice circuit simulator - library
https://ngspice.sourceforge.io
sudo apt install libngspice0libngspice0-dev 44.2+ds-1
Spice circuit simulator - development files for libngspice
https://ngspice.sourceforge.io
sudo apt install libngspice0-devngspice 44.2+ds-1
Spice circuit simulator
https://ngspice.sourceforge.io
sudo apt install ngspicengspice-dev 44.2+ds-1
Spice circuit simulator - development files for ngspice and tclspice
https://ngspice.sourceforge.io
sudo apt install ngspice-devngspice-doc 44.2+ds-1
Documentation for the NGspice circuit simulator
https://ngspice.sourceforge.io
sudo apt install ngspice-doctclspice 44.2+ds-1
NGSpice library for Tcl
https://ngspice.sourceforge.io
sudo apt install tclspicengspice
nix profile install nixpkgs#ngspicelibngspice0 42+ds-3build1
Spice circuit simulator - library
https://ngspice.sourceforge.io
sudo apt install libngspice0libngspice0-dev 42+ds-3build1
Spice circuit simulator - development files for libngspice
https://ngspice.sourceforge.io
sudo apt install libngspice0-devngspice 42+ds-3build1
Spice circuit simulator
https://ngspice.sourceforge.io
sudo apt install ngspicengspice-dev 42+ds-3build1
Spice circuit simulator - development files for ngspice and tclspice
https://ngspice.sourceforge.io
sudo apt install ngspice-devngspice-doc 42+ds-3build1
Documentation for the NGspice circuit simulator
https://ngspice.sourceforge.io
sudo apt install ngspice-doctclspice 42+ds-3build1
NGSpice library for Tcl
https://ngspice.sourceforge.io
sudo apt install tclspicengspice 46-r0
open source spice simulator for electric and electronic circuits
https://ngspice.sourceforge.net/
sudo apk add ngspicengspice-dev 46-r0
open source spice simulator for electric and electronic circuits (development files)
https://ngspice.sourceforge.net/
sudo apk add ngspice-devngspice-doc 46-r0
open source spice simulator for electric and electronic circuits (documentation)
https://ngspice.sourceforge.net/
sudo apk add ngspice-docQuellspur
Diese Seite wird von av-web aus dem privaten Paket-SQLite-Artefakt bereitgestellt, das scripts/generate-pkg-sqlite.py erstellt.
View the package source record on GitHub.