macOS
brew install glslanglocal Homebrew formula metadata
sudo port install glslangMacPorts ports tree · graphics/glslang/Portfile · source: api.github.com
brew
OpenGL and OpenGL ES reference compiler for shading languages. Version 16.3.0 via Homebrew; verified 2026-05-02.
install
brew install glslanglocal Homebrew formula metadata
sudo port install glslangMacPorts ports tree · graphics/glslang/Portfile · source: api.github.com
sudo apk add glslangAlpine Linux edge package indexes · glslang · source: dl-cdn.alpinelinux.org
sudo apt install glslang-devDebian stable package indexes · glslang-dev · source: deb.debian.org
sudo dnf install glslangFedora Rawhide package metadata · glslang · source: dl.fedoraproject.org
nix profile install nixpkgs#glslangnixpkgs package indexes · pkgs/by-name/gl/glslang/package.nix · source: api.github.com
sudo pacman -S glslangArch Linux sync databases · glslang · source: geo.mirror.pkgbuild.com
sudo zypper install glslang-developenSUSE Tumbleweed package metadata · glslang-devel · source: download.opensuse.org
scoop install main/glslangScoop official bucket manifest trees · bucket/glslang.json · source: api.github.com
overview
OpenGL and OpenGL ES reference compiler for shading languages
history
glslang is Khronos Group's reference front end for GLSL and ESSL, with a SPIR-V back end and a standalone command-line wrapper. In package-manager form it is best known through the `glslangValidator` and `glslang` executables used by graphics developers, engine build systems, and shader toolchains.
The project descends from the OpenGL and OpenGL ES reference compiler work maintained by Khronos. Its public KhronosGroup GitHub repository was created in 2015, the same period in which SPIR-V and Vulkan-era shader tooling moved into more open, packageable workflows. The README describes the GLSL and ESSL front end as a reference validator whose results carry similar weight to the specifications, and it describes the AST-to-SPIR-V back end as virtually complete.
glslang grew beyond a GLSL syntax checker into a central shader translation and validation component. It added a partial HLSL front end, a reflection API, CMake and GN build support, and release automation that publishes binaries from tested tree states. The project documentation also records migration of `spirv-remap` functionality into SPIRV-Tools as `spirv-opt` functionality, illustrating how Khronos shader tooling was split into focused companion projects.
Adoption followed the rise of Vulkan and SPIR-V: graphics projects needed a standard way to turn human-written shader languages into SPIR-V modules and to validate shaders against Khronos rules. The repository's long-lived presence under the KhronosGroup organization, several thousand stars, and packaging across Homebrew, Debian, Fedora, Arch, Nix, MacPorts, Scoop, and other distributions reflect its role as shared infrastructure rather than a single-application utility.
For package maintainers, glslang became a dependency-sized building block for Vulkan SDKs, rendering engines, CI checks, and shader asset pipelines. Its value is partly cultural: installing it gives a reproducible command-line validator that tracks Khronos reference behavior more closely than ad hoc compiler front ends.
Practitioners use glslang by passing shader files to the standalone wrapper. File extensions such as `.vert`, `.frag`, `.comp`, and ray-tracing-stage extensions select stage-specific rules, and the tool prints diagnostics, AST information, or SPIR-V output depending on options. Developers also build it from source through CMake or GN when integrating it into larger graphics SDKs or engine build systems.
Typical use cases include validating shaders before they enter a game or visualization build, compiling GLSL or ESSL to SPIR-V for Vulkan pipelines, checking generated shader code in CI, and inspecting reflection information for engine resource binding code.
glslang matters to package users because it is small enough to install as a command-line tool but authoritative enough to sit in serious graphics build graphs. It also demonstrates the Khronos ecosystem pattern: glslang handles language front-end and SPIR-V generation work, while adjacent packages such as SPIRV-Tools handle optimization and lower-level binary manipulation.
security posture
narrow executable package without higher-risk signals.
green risk · low confidence · appliance
Before unattended agent use, check whether the tool reads plaintext credentials, writes remote state, publishes artifacts, or shells out to plugins.
executables
| Command | Kind | Exposure | Note |
|---|---|---|---|
glslang | cli | global executable | |
glslangValidator | cli | global executable |
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.
https://github.com/KhronosGroup/glslang
install metadata
| Package key | brew:glslang |
|---|---|
| Version | 16.3.0 |
| Package manager | Homebrew |
| Package manager page | https://formulae.brew.sh/formula/glslang |
| Homepage | https://www.khronos.org/opengles/sdk/Reference-Compiler/ |
| Repository | https://github.com/KhronosGroup/glslang |
| Upstream docs | https://github.com/KhronosGroup/glslang#readme |
| License | BSD-3-Clause AND GPL-3.0-or-later AND MIT AND Apache-2.0 |
| Source archive | https://github.com/KhronosGroup/glslang/archive/refs/tags/16.3.0.tar.gz |
| Last updated | 2026-05-02T04:18:33Z |
| Pulse | updated |
| Dependencies | spirv-headers, spirv-tools |
| Build dependencies | cmake |
| Bottle | available (on arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux) |
| Homebrew post-install | not defined |
| Service | none declared |
registry facts
| Source Database | Homebrew formula API |
|---|---|
| Tap | homebrew/core |
| Full Name | glslang |
| Version Scheme | 0 |
| Revision | 0 |
| Head Version | HEAD |
| Bottle Stable Root URL | https://ghcr.io/v2/homebrew/core |
| Deprecated | no |
| Disabled | no |
| Keg Only | no |
| URL Keys |
|
source database matches
Matches are pulled from external package-manager indexes and kept separate from local Automic Vault package links.
glslang-dev 15.1.0+1.4.309.0-1
OpenGL and OpenGL ES shader front end and validator -- development files
https://github.com/KhronosGroup/glslang
sudo apt install glslang-devglslang-tools 15.1.0+1.4.309.0-1
OpenGL and OpenGL ES shader front end and validator -- tools
https://github.com/KhronosGroup/glslang
sudo apt install glslang-toolsglslang
nix profile install nixpkgs#glslangglslang-dev 14.0.0-2
OpenGL and OpenGL ES shader front end and validator -- development files
https://github.com/KhronosGroup/glslang
sudo apt install glslang-devglslang-tools 14.0.0-2
OpenGL and OpenGL ES shader front end and validator -- tools
https://github.com/KhronosGroup/glslang
sudo apt install glslang-toolsglslang 1.4.341.0-r0
Khronos reference front-end for GLSL, ESSL, and sample SPIR-V generator
https://github.com/KhronosGroup/glslang
sudo apk add glslangglslang-dev 1.4.341.0-r0
Khronos reference front-end for GLSL, ESSL, and sample SPIR-V generator (development files)
https://github.com/KhronosGroup/glslang
sudo apk add glslang-devglslang-libs 1.4.341.0-r0
Khronos reference front-end for GLSL, ESSL, and sample SPIR-V generator (libraries)
https://github.com/KhronosGroup/glslang
sudo apk add glslang-libsglslang-static 1.4.341.0-r0
Khronos reference front-end for GLSL, ESSL, and sample SPIR-V generator (static library)
https://github.com/KhronosGroup/glslang
sudo apk add glslang-staticglslang 16.2.0-1.fc45
OpenGL and OpenGL ES shader front end and validator
https://github.com/KhronosGroup/glslang
sudo dnf install glslangglslang-devel 16.2.0-1.fc45
Development files for glslang
https://github.com/KhronosGroup/glslang
sudo dnf install glslang-develglslang 1:1.4.350.0-1
OpenGL and OpenGL ES shader front end and validator
https://github.com/KhronosGroup/glslang
sudo pacman -S glslangglslang-devel 16.3.0-1.3
OpenGL and OpenGL ES shader front end and validator
https://www.khronos.org/opengles/sdk/tools/Reference-Compiler/
sudo zypper install glslang-develglslang-nonstd-devel 16.3.0-1.3
Secondary set of header files for glslang
https://www.khronos.org/opengles/sdk/tools/Reference-Compiler/
sudo zypper install glslang-nonstd-devellibglslang16 16.3.0-1.3
OpenGL and OpenGL ES shader front end implementation
https://www.khronos.org/opengles/sdk/tools/Reference-Compiler/
sudo zypper install libglslang16libglslang16-32bit 16.3.0-1.3
OpenGL and OpenGL ES shader front end implementation
https://www.khronos.org/opengles/sdk/tools/Reference-Compiler/
sudo zypper install libglslang16-32bitsource trail
This page is generated by av-web from the private package SQLite artifact built by scripts/generate-pkg-sqlite.py.
View the package source record on GitHub.