macOS
brew install ngspicelocal Homebrew formula metadata
sudo port install ngspiceMacPorts ports tree · science/ngspice/Portfile · ソース: api.github.com
brew
ngspice のインストール経路、実行ファイル、メタデータ、AI エージェント向けセキュリティノートを確認します。
インストール
brew install ngspicelocal Homebrew formula metadata
sudo port install ngspiceMacPorts ports tree · science/ngspice/Portfile · ソース: api.github.com
sudo apk add ngspiceAlpine Linux edge package indexes · ngspice · ソース: dl-cdn.alpinelinux.org
sudo apt install ngspiceDebian stable package indexes · ngspice · ソース: deb.debian.org
sudo dnf install ngspiceFedora Rawhide package metadata · ngspice · ソース: dl.fedoraproject.org
nix profile install nixpkgs#ngspicenixpkgs package indexes · ngspice · ソース: raw.githubusercontent.com
sudo pacman -S ngspiceArch Linux sync databases · ngspice · ソース: geo.mirror.pkgbuild.com
sudo zypper install ngspiceopenSUSE Tumbleweed package metadata · ngspice · ソース: download.opensuse.org
choco install ngspiceChocolatey community package catalog · ngspice · ソース: community.chocolatey.org
scoop install extras/ngspiceScoop official bucket manifest trees · bucket/ngspice.json · ソース: api.github.com
概要
Spice circuit simulator
履歴
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.
セキュリティ状態
narrow executable package without higher-risk signals.
リスク グリーン · 信頼度 低 · appliance
エージェントに無人実行させる前に、このツールが平文の認証情報を読むか、リモート状態を書き込むか、成果物を公開するか、プラグインを起動するかを確認してください。
実行可能ファイル
| コマンド | 種類 | 公開範囲 | メモ |
|---|---|---|---|
ngspice | cli | グローバル実行可能ファイル |
鮮度
これらの信号は、ページ生成時期、パッケージマネージャの活動、上流リリース比較を分けて示します。バージョン遅れは、証拠 URL と比較可能なバージョンがある場合だけ警告されます。
https://ngspice.sourceforge.io/
インストールメタデータ
| パッケージキー | brew:ngspice |
|---|---|
| バージョン | 46 |
| パッケージマネージャ | Homebrew |
| パッケージマネージャページ | https://formulae.brew.sh/formula/ngspice |
| ホームページ | https://ngspice.sourceforge.io/ |
| リポジトリ | https://sourceforge.net/p/ngspice/ngspice/ci/master/tree |
| 上流ドキュメント | https://ngspice.sourceforge.io/docs.html |
| ライセンス | LicenseRef-Homebrew-cannot-represent |
| ソースアーカイブ | https://downloads.sourceforge.net/project/ngspice/ng-spice-rework/46/ngspice-46.tar.gz |
| 最終更新 | 2026-06-25T13:37:57+02:00 |
| Pulse | updated |
| 依存関係 | fftw, freetype, libice, libngspice, libsm, libx11, libxaw, libxext, libxmu, libxt, readline |
| macOS 提供ライブラリ | ncurses |
| Bottle | 利用可能 (対象 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux) |
| Homebrew post-install | 未定義 |
| サービス | 宣言なし |
| 注意点 | If you need the graphical plotting functions you need to install X11 with: brew install --cask xquartz |
レジストリ情報
| 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 |
|
ソースデータベース一致
一致は外部パッケージマネージャインデックスから取得され、ローカルの Automic Vault パッケージリンクとは分けて表示されます。
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-docソース経路
このページは scripts/generate-pkg-sqlite.py が生成した非公開のパッケージ SQLite アーティファクトから av-web によって提供されます。
View the package source record on GitHub.