macOS
brew install ngslocal Homebrew formula metadata
sudo port install ngsMacPorts ports tree · shells/ngs/Portfile · 来源: api.github.com
安装
brew install ngslocal Homebrew formula metadata
sudo port install ngsMacPorts ports tree · shells/ngs/Portfile · 来源: api.github.com
sudo apk add ngsAlpine Linux edge package indexes · ngs · 来源: dl-cdn.alpinelinux.org
概览
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.
安全态势
generalized runtime or code generation signal.
yellow 风险 · 中 置信度 · runtime
在无人值守的代理使用前,请检查该工具是否读取明文凭据、写入远程状态、发布制品或调用插件。
可执行文件
| 命令 | 类型 | 暴露范围 | 备注 |
|---|---|---|---|
ngs | cli | 全局可执行文件 |
新鲜度
这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。
https://github.com/ngs-lang/ngs
安装元数据
| 软件包键 | 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 Database | Homebrew formula API |
|---|---|
| Tap | homebrew/core |
| Full Name | ngs |
| Version Scheme | 0 |
| Revision | 0 |
| Head Version | HEAD |
| Bottle Stable Root URL | https://ghcr.io/v2/homebrew/core |
| Deprecated | yes |
| Disabled | no |
| Keg Only | no |
| URL Keys |
|
源数据库匹配
匹配项来自外部软件包管理器索引,并与本地 Automic Vault 软件包链接分开显示。
ngs 0.2.14-r0
Next Generation Shell
sudo apk add ngsngs-aws 0.2.14-r0
Next Generation Shell - experimental AWS library
sudo apk add ngs-awsngs-vim 0.2.14-r0
Next Generation Shell (vim syntax)
sudo apk add ngs-vimngs
sudo port install ngs来源线索
此页面由 av-web 从 scripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。
View the package source record on GitHub.