# 使用 Homebrew 安装 nift

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

## 安装

```sh
sudo av install brew:nift
```

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install nift
```

  证据: local Homebrew formula metadata

## 软件包事实

- **软件包键:** brew:nift
- **软件包管理器:** Homebrew
- **软件包管理器页面:** <https://formulae.brew.sh/formula/nift>
- **版本:** 3.0.3
- **来源摘要:** Cross-platform open source framework for managing and generating websites
- **主页:** <https://nift.dev/>
- **仓库:** <https://github.com/nifty-site-manager/nsm>
- **上游文档:** <https://nift.dev/docs/commands.html>
- **许可证:** MIT
- **源码归档:** <https://github.com/nifty-site-manager/nsm/archive/refs/tags/v3.0.3.tar.gz>
- **最后更新:** 2026-06-25T13:37:57+02:00
- **已生成:** 2026-07-25T07:20:51+00:00

## 可执行文件

- nift (cli)
- nsm (cli)
- nift (别名)
- nsm (别名)

## 依赖

- luajit

## 安装行为

- post-install 钩子: 未定义
- Bottle: 可用 于 arm64_linux, arm64_monterey, arm64_sequoia, arm64_sonoma, arm64_tahoe, arm64_ventura, monterey, sonoma, ventura, x86_64_linux

## 版本和新鲜度

- 页面生成时间: 2026-07-25
- 管理器版本: 3.0.3
- 管理器更新时间: 2026-06-25
- 本地数据: OK
- 上游仓库: https://github.com/nifty-site-manager/nsm
- 检测到的最新版本: v3.0.3 (当前)
## 项目历史与用法

Nift, formerly/also nsm for Nifty Site Manager, is a cross-platform website generator and site manager. Its own site calls it an unopinionated web development framework, while the GitHub README emphasizes managing and generating websites.

### 项目历史

The Nift GitHub README credits Nicholas Ham and dates the project copyright from 2015 onward. The official site says it is open source under the MIT license and developed from the ground up in C++.

Nift's identity is unusual for the static-site-generator space: the Jamstack generator directory describes it as git-like and LaTeX-like, with the intent of creating a command-line site manager. The official site also emphasizes embedded Lua/LuaJIT and ExprTk, Git integration, incremental builds, a single executable, and multithreading.

### 采用历史

Adoption is niche. GitHub showed 249 stars, 22 forks, and 60 releases when researched on July 1, 2026, with the latest GitHub release shown as Nift v3.0.3 on January 13, 2024. The Jamstack generator page listed 243 stars and 21 forks, consistent with small-project scale.

Homebrew's formula API reported 47 installs over 365 days, six over 90 days, and four over 30 days when queried on July 1, 2026. That makes the Homebrew package a convenience for curious users and existing Nift projects, not a broad ecosystem anchor.

### 使用方式

Users run nift or nsm commands to initialize and manage a site, track pages, build changed output, build all output, serve locally, clone/pull, and combine build/commit/push flows. The official basic usage tutorial walks through .nsm tracking metadata, content and template files, output generation, and incremental rebuilds.

Package nerds may notice that Nift exposes both nift and nsm names, ships as a single executable, embeds scripting/expression engines, and tries to cover site management workflow as well as generation. It competes more on personal workflow taste than on a large plugin/theme ecosystem.

### 为什么软件包爱好者会关心

Nift is significant mostly as a small, opinionated-by-implementation counterexample in the static site generator catalog: C++/C codebase, single binary, git-like commands, LaTeX-like templating ambitions, and a very small Homebrew footprint.

### 时间线

- 2015: Nift copyright begins, according to the GitHub README and official site footer.
- January 13, 2024: GitHub showed Nift v3.0.3 as the latest release when researched on July 1, 2026.
- July 1, 2026: Homebrew formula API reported 47 installs over 365 days.

### Related projects

- LuaJIT, Lua, ExprTk, Git, Netlify, GitHub Pages, GitLab Pages, Bitbucket

### 来源

- <https://formulae.brew.sh/api/formula/nift.json>
- <https://github.com/nifty-site-manager/nsm>
- <https://jamstack.org/generators/nift/>
- <https://nift.dev/>
- <https://nift.dev/docs/commands.html>
- <https://nift.dev/resources/tutorials/basic_usage.html>


## 安全说明

narrow executable package without higher-risk signals.

- **Geiger 风险:** 绿色 / 低
- narrow executable package without higher-risk signals

## 源数据库详情

- **Source Database:** Homebrew formula API
- **Tap:** homebrew/core
- **Full Name:** nift
- **Version Scheme:** 0
- **Revision:** 0
- **Bottle Stable Root URL:** <https://ghcr.io/v2/homebrew/core>
- **Deprecated:** no
- **Disabled:** no
- **Keg Only:** no
- **URL Keys:** stable


## 相关链接

- [Terminal utility packages](https://www.automicvault.com/zh-hans/pkg/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [Text processing packages](https://www.automicvault.com/zh-hans/pkg/text-processing-tools/) - Matched text, document, or structured-data processing metadata.
- [Developer build packages](https://www.automicvault.com/zh-hans/pkg/developer-build-tools/) - Matched build, compiler, generator, or developer workflow metadata.
- [Networking and protocol packages](https://www.automicvault.com/zh-hans/pkg/networking-protocol-tools/) - Matched network, protocol, or remote-service metadata.
- [luajit](https://www.automicvault.com/zh-hans/pkg/brew/luajit/) - Runtime dependency declared by Homebrew.
- [blades](https://www.automicvault.com/zh-hans/pkg/brew/blades/) - Shares av.db curated category or tags: cli, developer-tools, static-site-generator.
- [docfx](https://www.automicvault.com/zh-hans/pkg/brew/docfx/) - Shares av.db curated category or tags: cli, developer-tools, static-site-generator.
- [eleventy](https://www.automicvault.com/zh-hans/pkg/brew/eleventy/) - Shares av.db curated category or tags: cli, developer-tools, static-site-generator.
- [marmite](https://www.automicvault.com/zh-hans/pkg/brew/marmite/) - Shares av.db curated category or tags: cli, developer-tools, static-site-generator.
- [pelican](https://www.automicvault.com/zh-hans/pkg/brew/pelican/) - Shares av.db curated category or tags: cli, developer-tools, static-site-generator.
- [publish](https://www.automicvault.com/zh-hans/pkg/brew/publish/) - Shares av.db curated category or tags: cli, developer-tools, static-site-generator.
- [cppcms](https://www.automicvault.com/zh-hans/pkg/brew/cppcms/) - Shares av.db curated category or tags: c-plus-plus, cli, developer-tools, web-framework.
- [drogon](https://www.automicvault.com/zh-hans/pkg/brew/drogon/) - Shares av.db curated category or tags: c-plus-plus, cli, developer-tools, web-framework.

## Combined YAML source

View the package source record on GitHub. [combined/nift.yml](https://github.com/automic-vault/db/blob/main/combined/nift.yml)


## 来源

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