pkg.sopackage field notes

brew / 順位 1145

nim を Homebrew でインストール

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

インストール

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

macOS

Homebrew確認済み · 100%
brew install nim

provider-native install command

概要

パッケージ概要

Statically typed compiled systems programming language

コマンドとエイリアス

  • nim
  • nimble
  • nimgrep
  • nimpretty
  • nimsuggest
  • testament

履歴

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

Nim is a statically typed compiled systems programming language that tries to combine Python-like readability, compile-time metaprogramming, native performance, and practical interop through C, C++, Objective-C, and JavaScript backends. The Homebrew package installs the compiler plus the everyday toolchain pieces such as Nimble, nimgrep, nimpretty, nimsuggest, and testament.

プロジェクトの歴史

The project was known as Nimrod before the official rename to Nim in version 0.10.2 on December 29, 2014. That release also renamed the package manager from Babel to Nimble and described Nimble as a functional cross-platform installer for Nim libraries and applications backed by a GitHub-hosted package repository.

Nim 1.0 was released on September 23, 2019. The release announcement framed it as the beginning of a stable base and a long-term-supported 1.0 branch, with a commitment that code compiling under Nim 1.0 should continue to compile under stable Nim 1.x releases, subject to documented exceptions. The same announcement said more than 500 people had contributed and that Nimble packages had passed the 1,000-package milestone in August 2019.

Nim 2.0 was released on August 1, 2023, with major work around ARC/ORC memory management and toolchain changes. Nim 2.2.10 followed on April 24, 2026 as the fifth patch release for stable Nim 2.2, with 76 commits of bug fixes and improvements.

採用の歴史

Nim's adoption has been steady rather than explosive: a self-hosted compiler, a package registry through Nimble, official forums and docs, and enough package-manager presence to make it easy to install on Unix-like systems and Windows package managers. It attracts users who want native binaries, low-level control, macros, and C/C++ interop without writing C++ directly.

On 2026-07-01, Homebrew listed Nim 2.2.10 with 16,428 installs over 365 days and 16,088 installs-on-request. That is a small-language signal, but it is substantial for a non-mainstream systems language and reflects use by people building local compilers, tools, and experiments.

使われ方

The core workflow is still compact: write `.nim`, run `nim c myproject.nim` for a debug build, use `nim c -d:release myproject.nim` for optimized release builds, and rely on generated C or C++ plus the host compiler for final code generation. The compiler guide documents cross-compilation, C/C++ compiler selection, nimcache behavior, Android/iOS cases, DLL/shared-library generation, and backend-specific switches.

Package nerds care about Nimble because it makes Nim feel like a small language distribution rather than just a compiler. Nimble installs libraries and applications by package name or repository URL, while tools such as nimpretty, nimsuggest, nimgrep, and testament support formatting, editor integration, search, and test running.

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

Nim is interesting in package databases because it straddles language runtime, compiler, package manager, transpiler, and native-tool authoring platform. The package is not only a command named `nim`; it is an ecosystem bootstrapper whose adoption is tied to Nimble packages, editor integrations, and a compiler that delegates portability to mature C/C++ toolchains.

タイムライン

  • {'date': '2014-12-29', 'event': 'Version 0.10.2 completed the rename from Nimrod to Nim and Babel to Nimble.'}
  • {'date': '2019-08', 'event': 'The project reported passing 1,000 Nimble packages.'}
  • {'date': '2019-09-23', 'event': 'Nim 1.0 released with a stable-base guarantee for the 1.x line.'}
  • {'date': '2023-08-01', 'event': 'Nim 2.0 released with ARC/ORC refinements and toolchain changes.'}
  • {'date': '2026-04-24', 'event': 'Nim 2.2.10 released as a stable 2.2 patch release.'}

Related projects

  • Nimble
  • choosenim
  • Atlas
  • nimsuggest
  • nimpretty
  • testament

セキュリティ状態

リスクレベル: yellow

generalized runtime or code generation signal.

リスク分類器

リスク yellow · 信頼度 中 · runtime

理由

  • generalized runtime or code generation signal

信号

  • text:programming language

インストール挙動

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

推奨レビュー

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

local files

Configuration and credential file locations

These source-backed paths show where this package keeps local settings or durable credentials. Automic Vault can use them as review targets for secret scanning, migration, and command approval.

Configuration files

Config paths the tool may read or write during local use.

Unix
~/.config/nim/config.nimsconfig.nims<project>.nims
Windows
%APPDATA%\nim\config.nimsconfig.nims<project>.nims

実行可能ファイル

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

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

鮮度

バージョンと鮮度

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

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

インストールメタデータ

パッケージメタデータ

パッケージキーbrew:nim
バージョン2.2.10
パッケージマネージャHomebrew
ホームページhttps://nim-lang.org/
リポジトリhttps://github.com/nim-lang/Nim
Bottle未記録
サービス宣言なし

ソース経路

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

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

使用ソース

  • Geiger risk classifier
  • Nucleus package database
  • curated configuration and credential file locations
  • curated package history
  • pkgdb category and tag curation