pkg.soopen package index

brew / rank 5105

Install naga-cli with Homebrew, apt

Shader translation command-line tool. Version 30.0.0 via Homebrew; verified 2026-07-01. Also installable with debian: sudo apt install libnaga-java.

install

Additional install commands

macOS

Homebrewverified · 100%
brew install naga-cli

local Homebrew formula metadata

Linux

Debian aptverified · 92%
sudo apt install libnaga-java

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

overview

Package summary

Shader translation command-line tool

Commands and aliases

  • naga

history

Project history and usage

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`.

Project history

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.

Adoption history

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.

How it is used

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.

Why package nerds care

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`.

Timeline

  • 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

security posture

Risk level: green

narrow executable package without higher-risk signals.

Risk classifier

green risk · low confidence · appliance

Why

  • narrow executable package without higher-risk signals

Signals

  • metadata:no-higher-risk-signals

Install behavior

  • No Homebrew bottle metadata was recorded.

Recommended review

Before unattended agent use, check whether the tool reads plaintext credentials, writes remote state, publishes artifacts, or shells out to plugins.

executables

Installed executables

CommandKindExposureNote
nagaexecutableindexed executableDiscovered from the local executable index.

freshness

Version and freshness

These signals separate page generation age, package-manager activity, and upstream release comparison. Version lag is warned only when an evidence URL and comparable versions are present.

page generated2026-08-03
manager version30.0.0
manager updated2026-07-01
local dataunknown
upstreamnot available
latest detectednot detected
  • okNo freshness warnings were generated.

install metadata

Package metadata

Package keybrew:naga-cli
Version30.0.0
Package managerHomebrew
Homepagehttps://wgpu.rs/
Repositoryhttps://github.com/gfx-rs/wgpu
Last updated2026-07-01T21:39:00Z
Pulseupdated
Bottlenot recorded
Servicenone declared

source database matches

Other package-manager records

Matches are pulled from external package-manager indexes and kept separate from local Automic Vault package links.

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
  • Matched by: 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
  • Matched by: 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

source trail

Generated from repository data

This page is generated by av-web from the private package SQLite artifact built by scripts/generate-pkg-sqlite.py.

Used sources

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