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

Performing reflection and disassembling SPIR-V. Version 1.4.357.0 via Homebrew; verified 2026-07-28. Also installable with debian: sudo apt install libspirv-cross-c-shared-dev.

## 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 spirv-cross
```

  Evidence: Debian stable package indexes: spirv-cross 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 spirv-cross
```

  Evidence: openSUSE Tumbleweed package metadata: spirv-cross from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst

## Package facts

- **Package key:** brew:spirv-cross
- **Package manager:** Homebrew
- **Version:** 1.4.357.0
- **Source summary:** Performing reflection and disassembling SPIR-V
- **Homepage:** <https://github.com/KhronosGroup/SPIRV-Cross>
- **Repository:** <https://github.com/KhronosGroup/SPIRV-Cross>
- **Last updated:** 2026-07-28T21:14:40Z
- **Generated:** 2026-08-03T19:37:03+00:00

## Executables

- spirv-cross (alias)

## Install behavior

- Bottle: not available

## Freshness

- Page generated: 2026-08-03
- Package-manager version: 1.4.357.0
## 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.


## 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.357.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.5: normalized package name match | openSUSE Tumbleweed package metadata: libspirv-cross-c-shared0 from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst | Library for SPIR-V reflection and disassembly | https://github.com/KhronosGroup/SPIRV-Cross
- zypper - spirv-cross - 1.4.313.0-1.5: normalized package name match | openSUSE Tumbleweed package metadata: spirv-cross from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-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.5: normalized package name match | openSUSE Tumbleweed package metadata: spirv-cross-devel from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-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


## Combined YAML source

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


## Sources

- 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
