# Install spirv-cross with Homebrew, apt, MacPorts, Nix, pacman, zypper

Performing reflection and disassembling SPIR-V. Version 1.4.350.1 via Homebrew; verified 2026-06-18.

## Install

```sh
sudo av install brew:spirv-cross
```

Additional install commands:

### macOS

- Homebrew (100%):

```sh
brew install spirv-cross
```

  Evidence: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install spirv-cross
```

  Evidence: MacPorts ports tree: graphics/spirv-cross/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1

### Linux

- Debian apt (92%):

```sh
sudo apt install libspirv-cross-c-shared-dev
```

  Evidence: Debian stable package indexes: libspirv-cross-c-shared-dev from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz

- Nix (92%):

```sh
nix profile install nixpkgs#spirv-cross
```

  Evidence: nixpkgs package indexes: pkgs/by-name/sp/spirv-cross/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1

- pacman (92%):

```sh
sudo pacman -S spirv-cross
```

  Evidence: Arch Linux sync databases: spirv-cross from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz

- zypper (92%):

```sh
sudo zypper install libspirv-cross-c-shared0
```

  Evidence: openSUSE Tumbleweed package metadata: libspirv-cross-c-shared0 from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst

## Package facts

- **Package key:** brew:spirv-cross
- **Package manager:** Homebrew
- **Package manager page:** <https://formulae.brew.sh/formula/spirv-cross>
- **Version:** 1.4.350.1
- **Source summary:** Performing reflection and disassembling SPIR-V
- **Homepage:** <https://github.com/KhronosGroup/SPIRV-Cross>
- **Repository:** <https://github.com/KhronosGroup/SPIRV-Cross>
- **Upstream docs:** <https://github.com/KhronosGroup/SPIRV-Cross#readme>
- **License:** Apache-2.0 AND MIT AND CC-BY-4.0 AND MIT-Khronos-old
- **Source archive:** <https://github.com/KhronosGroup/SPIRV-Cross/archive/refs/tags/vulkan-sdk-1.4.350.1.tar.gz>
- **Last updated:** 2026-06-18T20:35:31Z
- **Generated:** 2026-07-08T07:18:31+00:00

## Executables

- spirv-cross (cli)
- spirv-cross (alias)

## Build dependencies

- cmake

## Install behavior

- Post-install hook: not defined
- Bottle: available on arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux

## Freshness

- Page generated: 2026-07-08
- Package-manager version: 1.4.350.1
- Package-manager updated: 2026-06-18
- Local data: ok
- Upstream repository: https://github.com/KhronosGroup/SPIRV-Cross
- info: No cached GitHub release or tag data was available.
## Project history and usage

SPIRV-Cross is a Khronos Group tool and library for parsing SPIR-V, converting it to shader languages such as GLSL, MSL, and HLSL, and producing reflection data.

### Project history

The GitHub repository was created in April 2016, early in the Vulkan/SPIR-V tooling era. The README describes SPIRV-Cross as a tool designed for parsing and converting SPIR-V to other shader languages.

### Adoption history

SPIRV-Cross became part of graphics developer package sets because SPIR-V tooling is needed outside full SDK installs. The input facts list Homebrew, Debian/Ubuntu development packages, MacPorts, Nix, Arch, and openSUSE packages.

### How it is used

The README documents both library features and direct CLI examples such as compiling a shader to SPIR-V with glslangValidator and then running `spirv-cross` to emit GLSL ES, desktop GLSL, or reflected output.

### Why package nerds care

For package maintainers, SPIRV-Cross sits at a useful boundary: it is a standalone CLI, a C/C++ library, and a bridge between Vulkan-era intermediate representation and platform shader languages, so downstream tools want it available as a normal dependency.

### Timeline

- 2016: GitHub repository created.
- 2018: GitHub wiki home page edited with a Reflection API user guide link.
- 2023: README records branch rename from master to main on January 12.
- 2026: GitHub tags show Vulkan SDK-tagged releases, including vulkan-sdk-1.4.350.1.

### Related projects

- SPIR-V
- Vulkan SDK
- glslangValidator
- GLSL
- HLSL
- Metal Shading Language

### Sources

- <https://api.github.com/repos/KhronosGroup/SPIRV-Cross>
- <https://github.com/KhronosGroup/SPIRV-Cross>
- <https://github.com/KhronosGroup/SPIRV-Cross/tags>
- <https://github.com/KhronosGroup/SPIRV-Cross/wiki>
- input source_facts.package-manager


## Security Notes

No matching local secret-handling manifest was found for spirv-cross. Nucleus package metadata is still published here so future coverage has a stable package URL.


## Source Database Details

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

## Other Package-Manager Records

- Debian apt - libspirv-cross-c-shared-dev - 2021.01.15+1.4.304.1-2: normalized package name match | Debian stable package indexes: libspirv-cross-c-shared-dev from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | Convert SPIR-V to other shader languages (development files) | https://github.com/KhronosGroup/SPIRV-Cross
- Debian apt - libspirv-cross-c-shared0 - 2021.01.15+1.4.304.1-2: normalized package name match | Debian stable package indexes: libspirv-cross-c-shared0 from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | Convert SPIR-V to other shader languages (shared library) | https://github.com/KhronosGroup/SPIRV-Cross
- Debian apt - spirv-cross - 2021.01.15+1.4.304.1-2: normalized package name match | Debian stable package indexes: spirv-cross from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | Convert SPIR-V to other shader languages (CLI tool) | https://github.com/KhronosGroup/SPIRV-Cross
- Nix - spirv-cross: normalized package name match | nixpkgs package indexes: pkgs/by-name/sp/spirv-cross/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- Ubuntu apt - libspirv-cross-c-shared-dev - 2021.01.15+1.3.239.0-1build1: normalized package name match | Ubuntu 24.04 LTS package indexes: libspirv-cross-c-shared-dev from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | Convert SPIR-V to other shader languages (development files) | https://github.com/KhronosGroup/SPIRV-Cross
- Ubuntu apt - libspirv-cross-c-shared0 - 2021.01.15+1.3.239.0-1build1: normalized package name match | Ubuntu 24.04 LTS package indexes: libspirv-cross-c-shared0 from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | Convert SPIR-V to other shader languages (shared library) | https://github.com/KhronosGroup/SPIRV-Cross
- Ubuntu apt - spirv-cross - 2021.01.15+1.3.239.0-1build1: normalized package name match | Ubuntu 24.04 LTS package indexes: spirv-cross from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | Convert SPIR-V to other shader languages (CLI tool) | https://github.com/KhronosGroup/SPIRV-Cross
- pacman - spirv-cross - 1.4.350.0-1: normalized package name match | Arch Linux sync databases: spirv-cross from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz | Tool and library for parsing and converting SPIR-V to other shader languages | https://github.com/KhronosGroup/SPIRV-Cross/
- zypper - libspirv-cross-c-shared0 - 1.4.313.0-1.3: normalized package name match | openSUSE Tumbleweed package metadata: libspirv-cross-c-shared0 from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst | Library for SPIR-V reflection and disassembly | https://github.com/KhronosGroup/SPIRV-Cross
- zypper - spirv-cross - 1.4.313.0-1.3: normalized package name match | openSUSE Tumbleweed package metadata: spirv-cross from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst | Tool and library for SPIR-V reflection and disassembly | https://github.com/KhronosGroup/SPIRV-Cross
- zypper - spirv-cross-devel - 1.4.313.0-1.3: normalized package name match | openSUSE Tumbleweed package metadata: spirv-cross-devel from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst | Development headers for the SPIRV-Cross library | https://github.com/KhronosGroup/SPIRV-Cross
- MacPorts - spirv-cross: normalized package name match | MacPorts ports tree: graphics/spirv-cross/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1


## Related links

- [Source-control packages](https://www.automicvault.com/pkg/source-control-tools/) - Belongs to a source-control command family.
- [Terminal utility packages](https://www.automicvault.com/pkg/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [Text processing packages](https://www.automicvault.com/pkg/text-processing-tools/) - Matched text, document, or structured-data processing metadata.
- [Developer build packages](https://www.automicvault.com/pkg/developer-build-tools/) - Matched build, compiler, generator, or developer workflow metadata.
- [cmake](https://www.automicvault.com/pkg/brew/cmake/) - Build dependency declared by Homebrew.
- [glslang](https://www.automicvault.com/pkg/brew/glslang/) - Shares av.db curated category or tags: cli, developer-tools, graphics, spir-v, vulkan.
- [shaderc](https://www.automicvault.com/pkg/brew/shaderc/) - Shares av.db curated category or tags: cli, developer-tools, graphics, spir-v, vulkan.
- [vulkan-tools](https://www.automicvault.com/pkg/brew/vulkan-tools/) - Shares av.db curated category or tags: cli, developer-tools, graphics, vulkan.
- [glslviewer](https://www.automicvault.com/pkg/brew/glslviewer/) - Shares av.db curated category or tags: cli, developer-tools, graphics.
- [pixlet](https://www.automicvault.com/pkg/brew/pixlet/) - Shares av.db curated category or tags: cli, developer-tools, graphics.
- [spirv-tools](https://www.automicvault.com/pkg/brew/spirv-tools/) - Shares av.db curated category or tags: cli, developer-tools, disassembler, spir-v.
- [termsvg](https://www.automicvault.com/pkg/brew/termsvg/) - Shares av.db curated category or tags: cli, developer-tools, graphics.
- [waffle](https://www.automicvault.com/pkg/brew/waffle/) - Shares av.db curated category or tags: cli, developer-tools, graphics.
- [spirv-llvm-translator](https://www.automicvault.com/pkg/brew/spirv-llvm-translator/) - Package names and metadata indicate a similar tool family. Shared terms: cli, developer, developer-tools, spir, spir-v.

## Combined YAML source

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


## Sources

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