Automic VaultAutomic Vault

brew

使用 Homebrew, apk, MacPorts 安装 ngs

查看 ngs 的安装路径、可执行文件、元数据以及面向 AI 代理工作流的安全说明。

安装

其他安装命令

macOS

Homebrew已验证 · 100%
brew install ngs

local Homebrew formula metadata

MacPorts已验证 · 94%
sudo port install ngs

MacPorts ports tree · shells/ngs/Portfile · 来源: api.github.com

概览

软件包摘要

Powerful programming language and shell designed specifically for Ops

历史

项目历史与用法

NGS, or Next Generation Shell, is a GPL-3.0 language and shell project aimed at operations and DevOps scripting. The project positions itself between traditional shells and general-purpose languages: keep convenient process execution, but add structured data handling, exceptions, multimethods, patterns, and libraries for automation tasks.

项目历史

The public project is source-first and documentation-heavy rather than release-history-heavy. Its README states that the creator built NGS to reduce the pain of using Bash or Python for common Ops work, and the documentation set for version 0.2.17 includes language reference, tutorial, motivation, internals, style guide, CLI manual, and AWS command documentation.

The repository records roughly three thousand commits and a 0.2.x release line; Homebrew packaged version 0.2.17 from the upstream GitHub tag. NGS also carries installation paths through Homebrew, MacPorts, Snap, Docker, GitHub Actions, and helper projects for AWS Lambda and IPython/Jupyter.

采用历史

Adoption evidence is visible but niche. The GitHub repository shows about 1.5k stars, while Homebrew analytics on July 1, 2026 reported 35 installs on request over 365 days. The package is also present in Alpine and MacPorts, which suggests packaging interest beyond Homebrew but not broad ecosystem pull.

The upstream README gives one concrete production-ish adoption note: NGS is used at Beame.io for miscellaneous scripting, CLI testing, performance-test orchestration, and cloud manipulation. That is stronger than a toy example, but there are few independent adoption writeups.

使用方式

Package nerds use NGS as an experiment in replacing shell scripts for automation with a language that treats JSON, tables, command exit codes, retries, logging, status output, and external-program pipelines as first-class Ops concerns. The practical workflow is to install `ngs`, run scripts with `ngs SCRIPT_NAME.ngs`, or use one-liners such as `ngs -pi 'sum(0..10)'`.

The interesting packaging detail is that NGS is not only a CLI binary; it is also distributed as a GitHub Action and has integrations for container and serverless runtimes. That makes it a small but coherent language-runtime package rather than just another shell helper.

时间线

  • {'date': '2026-07-01', 'event': 'Homebrew API listed stable version 0.2.17 and 35 install-on-request events over 365 days.'}

Related projects

  • Bash
  • Python
  • Rash
  • ngs-aws-lambda
  • ngs-ipython-extension

安全态势

风险级别:yellow

generalized runtime or code generation signal.

风险分类器

yellow 风险 · 中 置信度 · runtime

原因

  • generalized runtime or code generation signal

信号

  • text:programming language,shell

安装行为

  • formula 元数据中未记录 Homebrew post-install 钩子。
  • Homebrew bottle 元数据适用于 8 个平台目标。
  • 安装时包含 5 个运行时依赖。
  • 构建元数据列出 3 个构建依赖。

建议审查

在无人值守的代理使用前,请检查该工具是否读取明文凭据、写入远程状态、发布制品或调用插件。

可执行文件

已安装的可执行文件

命令类型暴露范围备注
ngscli全局可执行文件

新鲜度

版本和新鲜度

这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。

页面生成时间2026-07-10
管理器版本0.2.17
管理器更新时间
本地数据OK
上游当前
检测到的最新版本v0.2.17

https://github.com/ngs-lang/ngs

  • 信息No package-manager update timestamp was available.低 置信度

安装元数据

软件包元数据

软件包键brew:ngs
版本0.2.17
软件包管理器Homebrew
软件包管理器页面https://formulae.brew.sh/formula/ngs
主页https://ngs-lang.org/
仓库https://github.com/ngs-lang/ngs
上游文档https://ngs-lang.org/doc/latest/index.html
许可证GPL-3.0-only
源码归档https://github.com/ngs-lang/ngs/archive/refs/tags/v0.2.17.tar.gz
依赖bdw-gc, gnu-sed, json-c, pcre, peg
构建依赖cmake, pandoc, pkgconf
macOS 提供的库libffi
Bottle可用 (于 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, arm64_ventura, sonoma, ventura, x86_64_linux)
Homebrew post-install未定义
服务未声明

注册表事实

源数据库详情

Source DatabaseHomebrew formula API
Taphomebrew/core
Full Namengs
Version Scheme0
Revision0
Head VersionHEAD
Bottle Stable Root URLhttps://ghcr.io/v2/homebrew/core
Deprecatedyes
Disabledno
Keg Onlyno
URL Keys
  • head
  • stable

源数据库匹配

其他软件包管理器记录

匹配项来自外部软件包管理器索引,并与本地 Automic Vault 软件包链接分开显示。

apk95%

ngs 0.2.14-r0

Next Generation Shell

https://ngs-lang.org

sudo apk add ngs
  • License: GPL-3.0
  • Architecture: x86_64
  • Source Package: ngs
  • 1 依赖
  • 1 提供
  • normalized package name match
  • 匹配方式:Ngs
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: ngs from https://dl-cdn.alpinelinux.org/alpine/edge/testing/x86_64/APKINDEX.tar.gz
apk95%

ngs-aws 0.2.14-r0

Next Generation Shell - experimental AWS library

https://ngs-lang.org

sudo apk add ngs-aws
  • License: GPL-3.0
  • Architecture: x86_64
  • Source Package: ngs
  • 1 依赖
  • normalized package name match
  • 匹配方式:Ngs
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: ngs-aws from https://dl-cdn.alpinelinux.org/alpine/edge/testing/x86_64/APKINDEX.tar.gz
apk95%

ngs-vim 0.2.14-r0

Next Generation Shell (vim syntax)

https://ngs-lang.org

sudo apk add ngs-vim
  • License: GPL-3.0
  • Architecture: x86_64
  • Source Package: ngs
  • normalized package name match
  • 匹配方式:Ngs
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: ngs-vim from https://dl-cdn.alpinelinux.org/alpine/edge/testing/x86_64/APKINDEX.tar.gz
MacPorts95%

ngs

sudo port install ngs
  • normalized package name match
  • 匹配方式:Ngs
MacPorts ports tree · api.github.com · MacPorts ports tree: shells/ngs/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1

来源线索

由仓库数据生成

此页面由 av-webscripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。

使用的来源

  • Geiger risk classifier
  • Nucleus package database
  • av.db category and tag curation
  • cross-ecosystem install command graph
  • curated package history
  • external package-manager database matches
  • package relationship graph
  • package version freshness
  • package-page enrichment