pkg.soopen package index

brew / 排名 5097

使用 Homebrew, apt 安装 naga-cli

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

安装

其他安装命令

macOS

Homebrew已验证 · 100%
brew install naga-cli

local Homebrew formula metadata

Linux

Debian apt已验证 · 92%
sudo apt install libnaga-java

Debian stable package indexes · libnaga-java · 来源: deb.debian.org

概览

软件包摘要

Shader translation command-line tool

命令和别名

  • naga

历史

项目历史与用法

naga-cli is the command-line frontend for Naga, the Rust shader translation and validation library used by the gfx-rs/wgpu stack. The package installs a `naga` binary, which is why the Homebrew formula conflicts with the unrelated Snake-game formula named `naga`.

项目历史

Naga began as part of the gfx-rs graphics stack, with docs and maintainer writing tying it to an earlier Javelin name and to the WebGPU/WGSL transition. The old standalone gfx-rs/naga repository is archived because development moved into the wgpu repository, but the docs still describe Naga as a standalone library. The naga crate was created on crates.io on February 27, 2020; the naga-cli crate was created on October 20, 2021.

采用历史

Naga adoption is mostly transitive through wgpu, not through direct CLI use. On July 1, 2026 the wgpu GitHub API showed 17,474 stars, 1,343 forks, and GitHub's rendered repository page showed it used by more than 46,000 dependents. crates.io reported 28,591,294 total downloads for the naga library crate and 43,842 for naga-cli. Homebrew reported 358 naga-cli installs over 365 days, which fits the CLI's role as a developer/debugging tool rather than the normal application dependency path.

使用方式

The CLI is used to validate shaders and exercise conversion paths: WGSL validation, SPIR-V dumps, SPIR-V to Metal, WGSL to GLSL under a selected profile, and output formats such as WGSL, GLSL, Metal, HLSL, SPIR-V, and DOT. Graphics developers use it when debugging shader portability, testing Naga behavior at a particular wgpu commit, checking snapshots, or reducing shader translation bugs outside a full application.

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

naga-cli is significant because it exposes one of the key moving parts behind Rust WebGPU portability. wgpu uses Naga to translate WGSL into platform shading languages for native backends, and maintainer writing describes Naga as powering wgpu and transitively Gecko/Firefox. For package nerds, the formula is also a classic binary-name collision case: `brew install naga-cli` and `brew install naga` cannot coexist because both provide `naga`.

时间线

  • 2018-09-13: wgpu repository created.
  • 2020-02-27: naga crate created on crates.io.
  • 2021-10-07: gfx-rs announced wgpu v0.11 and naga v0.7, describing naga as the shader translation and validation layer.
  • 2021-10-20: naga-cli crate created on crates.io.
  • 2026-05-02: wgpu/naga v29.0.3 published.
  • 2026-07-01: crates.io reported 28,591,294 naga downloads and 43,842 naga-cli downloads.

Related projects

  • wgpu
  • WebGPU
  • WGSL
  • SPIR-V
  • Tint
  • Dawn
  • Gecko
  • Firefox

安全态势

风险级别:绿色

narrow executable package without higher-risk signals.

风险分类器

绿色 风险 · 低 置信度 · appliance

原因

  • narrow executable package without higher-risk signals

信号

  • metadata:no-higher-risk-signals

安装行为

  • formula 元数据中未记录 Homebrew post-install 钩子。
  • Homebrew bottle 元数据适用于 6 个平台目标。
  • 构建元数据列出 1 个构建依赖。

建议审查

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

可执行文件

已安装的可执行文件

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

新鲜度

版本和新鲜度

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

页面生成时间2026-08-04
管理器版本30.0.0
管理器更新时间2026-07-01
本地数据OK
上游not checked
检测到的最新版本未检测到

https://wgpu.rs/

  • 信息Release/tag comparison is only available for GitHub repositories.https://wgpu.rs/none 置信度

安装元数据

软件包元数据

软件包键brew:naga-cli
版本30.0.0
软件包管理器Homebrew
软件包管理器页面https://formulae.brew.sh/formula/naga-cli
主页https://wgpu.rs/
仓库https://github.com/gfx-rs/wgpu
上游文档https://wgpu.rs/
许可证Apache-2.0 OR MIT
源码归档https://static.crates.io/crates/naga-cli/naga-cli-30.0.0.crate
最后更新2026-07-01T21:39:00Z
Pulseupdated
构建依赖rust
Bottle可用 (于 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux)
Homebrew post-install未定义
服务未声明

注册表事实

源数据库详情

Source DatabaseHomebrew formula API
Taphomebrew/core
Full Namenaga-cli
Version Scheme0
Revision0
Head VersionHEAD
Conflicts With
  • naga
Bottle Stable Root URLhttps://ghcr.io/v2/homebrew/core
Deprecatedno
Disabledno
Keg Onlyno
URL Keys
  • head
  • stable

源数据库匹配

其他软件包管理器记录

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

Debian apt92%

libnaga-java 3.0+svn80-5

Simplified Java NIO asynchronous sockets

https://code.google.com/archive/p/naga/

sudo apt install libnaga-java
  • Section: java
  • Architecture: all
  • Source Package: naga
  • installed executable or alias match
  • 匹配方式:Naga
Debian stable package indexes · deb.debian.org · Debian stable package indexes: libnaga-java from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Ubuntu apt92%

libnaga-java 3.0+svn80-5

Simplified Java NIO asynchronous sockets

https://code.google.com/archive/p/naga/

sudo apt install libnaga-java
  • Section: universe/java
  • Architecture: all
  • Source Package: naga
  • installed executable or alias match
  • 匹配方式:Naga
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: libnaga-java from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz

来源线索

由仓库数据生成

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

使用的来源

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