# ngs を Homebrew, apk, MacPorts でインストール

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

## インストール

```sh
sudo av install brew:ngs
```

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

### macOS

- Homebrew (100%):

```sh
brew install ngs
```

  証拠: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install ngs
```

  証拠: MacPorts ports tree: shells/ngs/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1

### Linux

- apk (92%):

```sh
sudo apk add ngs
```

  証拠: Alpine Linux edge package indexes: ngs from https://dl-cdn.alpinelinux.org/alpine/edge/testing/x86_64/APKINDEX.tar.gz

## パッケージ情報

- **パッケージキー:** brew:ngs
- **パッケージマネージャ:** Homebrew
- **バージョン:** 0.2.17
- **ソース概要:** Powerful programming language and shell designed specifically for Ops
- **ホームページ:** <https://ngs-lang.org/>
- **リポジトリ:** <https://github.com/ngs-lang/ngs>
- **生成日時:** 2026-08-03T19:37:03+00:00

## 実行可能ファイル

- ngs (エイリアス)

## インストール挙動

- Bottle: 利用不可

## バージョンと鮮度

- ページ生成日: 2026-08-03
- マネージャ版: 0.2.17
## プロジェクトの歴史と使われ方

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

### ソース

- <https://formulae.brew.sh/api/formula/ngs.json>
- <https://github.com/ngs-lang/ngs>
- <https://ngs-lang.org/>
- <https://ngs-lang.org/doc/latest/index.html>


## セキュリティノート

generalized runtime or code generation signal.

- **Geiger リスク:** yellow / 中
- generalized runtime or code generation signal

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

- apk - ngs - 0.2.14-r0: normalized package name match | Alpine Linux edge package indexes: ngs from https://dl-cdn.alpinelinux.org/alpine/edge/testing/x86_64/APKINDEX.tar.gz | Next Generation Shell | https://ngs-lang.org
- apk - ngs-aws - 0.2.14-r0: normalized package name match | Alpine Linux edge package indexes: ngs-aws from https://dl-cdn.alpinelinux.org/alpine/edge/testing/x86_64/APKINDEX.tar.gz | Next Generation Shell - experimental AWS library | https://ngs-lang.org
- apk - ngs-vim - 0.2.14-r0: normalized package name match | Alpine Linux edge package indexes: ngs-vim from https://dl-cdn.alpinelinux.org/alpine/edge/testing/x86_64/APKINDEX.tar.gz | Next Generation Shell (vim syntax) | https://ngs-lang.org
- MacPorts - ngs: normalized package name match | MacPorts ports tree: shells/ngs/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1


## Combined YAML source

View the package source record on GitHub. [combined/ngs.yml](https://github.com/mxcl/pkgdb/blob/main/combined/ngs.yml)


## ソース

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