macOS
brew install ngspicelocal Homebrew formula metadata
sudo port install ngspiceMacPorts ports tree · science/ngspice/Portfile · Source: api.github.com
brew
Consultez les chemins d'installation, exécutables, métadonnées et notes de sécurité de ngspice pour les workflows d'agents IA.
installation
brew install ngspicelocal Homebrew formula metadata
sudo port install ngspiceMacPorts ports tree · science/ngspice/Portfile · Source: api.github.com
sudo apk add ngspiceAlpine Linux edge package indexes · ngspice · Source: dl-cdn.alpinelinux.org
sudo apt install ngspiceDebian stable package indexes · ngspice · Source: deb.debian.org
sudo dnf install ngspiceFedora Rawhide package metadata · ngspice · Source: dl.fedoraproject.org
nix profile install nixpkgs#ngspicenixpkgs package indexes · ngspice · Source: raw.githubusercontent.com
sudo pacman -S ngspiceArch Linux sync databases · ngspice · Source: geo.mirror.pkgbuild.com
sudo zypper install ngspiceopenSUSE Tumbleweed package metadata · ngspice · Source: download.opensuse.org
choco install ngspiceChocolatey community package catalog · ngspice · Source: community.chocolatey.org
scoop install extras/ngspiceScoop official bucket manifest trees · bucket/ngspice.json · Source: api.github.com
aperçu
Spice circuit simulator
historique
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.
posture de sécurité
narrow executable package without higher-risk signals.
risque vert · confiance faible · appliance
Avant une utilisation sans surveillance par un agent, vérifiez si l'outil lit des identifiants en clair, écrit un état distant, publie des artefacts ou lance des plugins.
exécutables
| Commande | Type | Exposition | Note |
|---|---|---|---|
ngspice | cli | exécutable global |
fraîcheur
Ces signaux séparent l'âge de génération de la page, l'activité du gestionnaire de paquets et la comparaison avec les versions amont. Un retard de version n'est signalé que lorsqu'une URL de preuve et des versions comparables sont présentes.
https://ngspice.sourceforge.io/
métadonnées d'installation
| Clé du paquet | brew:ngspice |
|---|---|
| Version | 46 |
| Gestionnaire de paquets | Homebrew |
| Page du gestionnaire de paquets | https://formulae.brew.sh/formula/ngspice |
| Page d'accueil | https://ngspice.sourceforge.io/ |
| Dépôt | https://sourceforge.net/p/ngspice/ngspice/ci/master/tree |
| Docs amont | https://ngspice.sourceforge.io/docs.html |
| Licence | LicenseRef-Homebrew-cannot-represent |
| Archive source | https://downloads.sourceforge.net/project/ngspice/ng-spice-rework/46/ngspice-46.tar.gz |
| Dernière mise à jour | 2026-06-25T13:37:57+02:00 |
| Pulse | updated |
| Dépendances | fftw, freetype, libice, libngspice, libsm, libx11, libxaw, libxext, libxmu, libxt, readline |
| Bibliothèques fournies par macOS | ncurses |
| Bouteille | disponible (sur arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux) |
| post-install Homebrew | non défini |
| Service | aucun déclaré |
| Précautions | If you need the graphical plotting functions you need to install X11 with: brew install --cask xquartz |
faits du registre
| 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 |
|
correspondances dans les bases sources
Les correspondances proviennent d’index externes de gestionnaires de paquets et restent séparées des liens de paquets Automic Vault locaux.
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-docpiste source
Cette page est servie par av-web depuis l'artéfact SQLite privé des paquets généré par scripts/generate-pkg-sqlite.py.
View the package source record on GitHub.