pkg.soopen package index

brew / 順位 8342

stanc3 を Homebrew, MacPorts, Nix でインストール

stanc3 のインストール経路、実行ファイル、メタデータ、AI エージェント向けセキュリティノートを確認します。

インストール

追加のインストールコマンド

macOS

Homebrew確認済み · 100%
brew install stanc3

local Homebrew formula metadata

MacPorts確認済み · 94%
sudo port install stanc3

MacPorts ports tree · math/stanc3/Portfile · ソース: api.github.com

Linux

Nix確認済み · 92%
nix profile install nixpkgs#stanc

nixpkgs package indexes · pkgs/by-name/st/stanc/package.nix · ソース: api.github.com

概要

パッケージ概要

Stan transpiler

コマンドとエイリアス

  • stanc

履歴

プロジェクトの歴史と使われ方

stanc3 is the OCaml implementation of the Stan compiler, exposed to users as the stanc command.

プロジェクトの歴史

The official repository describes stanc3 as a new Stan-to-C++ compiler written in OCaml, with a frontend, middle representation, analysis and optimization layer, and Stan Math backend. The Stan User's Guide says the Stan compiler has been implemented in OCaml since Stan 2.22, while the repository README says stanc3 has been the default compiler for Stan since version 2.26.

採用の歴史

stanc3 became part of normal Stan usage because Stan interfaces call the stanc compiler when translating models. The official releases page shows signed multi-platform binaries and a JavaScript version, while the package facts show Homebrew, MacPorts, and Nix packaging.

使われ方

Users generally encounter stanc through CmdStan and other Stan interfaces, or directly as a CLI with syntax like stanc options model_file. The User's Guide documents options for output files, generated C++ printing, automatic formatting, canonicalization, warnings, optimization levels, OpenCL support, and compiler diagnostics.

パッケージ好きにとっての重要性

Package nerds care about stanc3 because it is the compiler binary behind a large statistical programming ecosystem. Its OCaml toolchain, generated multi-platform assets, JavaScript build, and integration with CmdStan make it a packaging-sensitive developer tool rather than just an internal library.

タイムライン

  • 2018: Stan developers publicly discussed choosing OCaml for the new compiler implementation.
  • Stan 2.22: Stan User's Guide says the compiler has been implemented in OCaml since this version.
  • Stan 2.26: stanc3 became the default compiler for Stan, according to the official README.
  • 2026: stanc3 v2.39.0 release notes added language features, warning improvements, parser fixes, and optimization bug fixes.

Related projects

  • stanc3 is tightly related to Stan, CmdStan, Stan Math, Stan interfaces, stancjs, and the Stan documentation. Its developer docs also point to OCaml tooling such as dune, opam, ocamlformat, and Merlin.

セキュリティ状態

保護ツール対応はまだ見つかっていません

stanc3 に一致するローカルシークレット処理マニフェストは見つかりませんでした。将来の対応で安定したパッケージ URL を使えるよう、Nucleus パッケージメタデータはここに公開されています。

インストール挙動

  • Homebrew bottle メタデータは記録されていません。

推奨レビュー

エージェントに無人実行させる前に、このツールが平文の認証情報を読むか、リモート状態を書き込むか、成果物を公開するか、プラグインを起動するかを確認してください。

実行可能ファイル

インストールされる実行可能ファイル

コマンド種類公開範囲メモ
stanc実行可能ファイルインデックス済み実行可能ファイルローカル実行可能ファイルインデックスから検出されました。

鮮度

バージョンと鮮度

これらの信号は、ページ生成時期、パッケージマネージャの活動、上流リリース比較を分けて示します。バージョン遅れは、証拠 URL と比較可能なバージョンがある場合だけ警告されます。

ページ生成日2026-08-03
マネージャ版2.39.0
マネージャ更新日2026-07-13
ローカルデータ不明
上流利用不可
検出された最新未検出
  • OK鮮度警告は生成されていません。

インストールメタデータ

パッケージメタデータ

パッケージキーbrew:stanc3
バージョン2.39.0
パッケージマネージャHomebrew
ホームページhttps://github.com/stan-dev/stanc3
リポジトリhttps://github.com/stan-dev/stanc3
最終更新2026-07-13T05:11:31Z
Pulseupdated
Bottle未記録
サービス宣言なし

ソースデータベース一致

他のパッケージマネージャ記録

一致は外部パッケージマネージャインデックスから取得され、ローカルの Automic Vault パッケージリンクとは分けて表示されます。

MacPorts95%

stanc3

sudo port install stanc3
  • normalized package name match
  • 一致条件: Stanc3
MacPorts ports tree · api.github.com · MacPorts ports tree: math/stanc3/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1
Nix92%

stanc

nix profile install nixpkgs#stanc
  • installed executable or alias match
  • 一致条件: Stanc
nixpkgs package indexes · api.github.com · nixpkgs package indexes: pkgs/by-name/st/stanc/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1

ソース経路

リポジトリデータから生成

このページは scripts/generate-pkg-sqlite.py が生成した非公開のパッケージ SQLite アーティファクトから av-web によって提供されます。

使用ソース

  • Geiger risk classifier
  • cross-ecosystem install command graph
  • curated package history
  • external package-manager database matches
  • pkg.so package database
  • pkgdb category and tag curation