# 使用 Homebrew, apk, Nix, scoop 安装 glslviewer

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

## 安装

```sh
sudo av install brew:glslviewer
```

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install glslviewer
```

  证据: local Homebrew formula metadata

### Linux

- apk (92%):

```sh
sudo apk add glslviewer
```

  证据: Alpine Linux edge package indexes: glslviewer from https://dl-cdn.alpinelinux.org/alpine/edge/testing/x86_64/APKINDEX.tar.gz

- Nix (92%):

```sh
nix profile install nixpkgs#glslviewer
```

  证据: nixpkgs package indexes: pkgs/by-name/gl/glslviewer/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1

### Windows

- Scoop (92%):

```sh
scoop install main/glslviewer
```

  证据: Scoop official bucket manifest trees: bucket/glslviewer.json from https://api.github.com/repos/ScoopInstaller/Main/git/trees/master?recursive=1

## 软件包事实

- **软件包键:** brew:glslviewer
- **软件包管理器:** Homebrew
- **版本:** 3.5.2
- **来源摘要:** Live-coding console tool that renders GLSL Shaders
- **主页:** <https://patriciogonzalezvivo.com/2015/glslViewer/>
- **仓库:** <https://github.com/patriciogonzalezvivo/glslViewer>
- **已生成:** 2026-08-03T19:37:03+00:00

## 可执行文件

- glslScreenSaver (别名)
- glslThumbnailer (别名)
- glslViewer (别名)

## 安装行为

- Bottle: 不可用

## 版本和新鲜度

- 页面生成时间: 2026-08-03
- 管理器版本: 3.5.2
## 项目历史与用法

glslViewer is a console-based OpenGL sandbox for displaying and live-editing 2D and 3D GLSL shaders without building a separate graphical user interface. It fits the creative-coding side of package-manager culture: install a binary, point it at shader files and media, and iterate quickly.

### 项目历史

Patricio Gonzalez Vivo opened the public glslViewer repository in 2014. The project grew around a practical idea from shader art and graphics prototyping: make GLSL sketches runnable from a terminal, with file hot reload, texture loading, model loading, and interactive control through standard console streams or OSC.

The README documents expansion from fragment and vertex shader display into a broader sandbox: include resolution, user-defined uniforms, automatically generated defines, image and video textures, OBJ/PLY/glTF import, PBR defaults, debug modes, shadow maps, headless rendering, image and PNG-sequence export, screensaver mode, and WebAssembly cross-compilation.

### 采用历史

glslViewer gained visibility among shader artists and graphics programmers because it connects command-line ergonomics with shader-toy-style iteration. Repository metadata shows thousands of stars and hundreds of forks, while the wiki and README point to an ecosystem of installation guides, usage guides, conventions, Discord discussion, and acknowledgements for Windows support, ShaderToy compatibility, OSC integration, and related creative-coding projects.

Its Homebrew and other package-manager entries make it easy to add shader previewing to a workstation without setting up a full engine. That packaging story is especially useful for workshops, live coding, CI rendering, and reproducible art pipelines.

### 使用方式

Practitioners use glslViewer to load a fragment shader, pair geometry with vertex shaders, attach image, video, camera, or audio textures, and edit shader files while the viewer hot-reloads changes. The wiki documents workflows for single fragment shaders, 3D models, PBR material editing, uniforms, defines, and console input commands.

The tool also serves automation uses: headless rendering, still-image export, PNG sequence export, screensaver mode, and OSC or POSIX stream control let other programs drive shader rendering without embedding a custom renderer.

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

glslViewer is significant because it packages a graphics sandbox as a Unix-like command. It gives shader practitioners a small installed tool that can bridge notebooks, shell scripts, art installations, classroom demos, and engine-adjacent shader experiments.

### 时间线

- 2014: Public GitHub repository created.
- 2015: The project had an official project page under Patricio Gonzalez Vivo's site.
- Later development: README-documented features expanded to OSC control, asset loading, headless rendering, export, and WebAssembly builds.

### Related projects

- The README acknowledges inspiration from fragTool and hdreffects.
- ShaderToy compatibility and creative-coding workflows connect glslViewer to the wider shader art ecosystem.
- OpenGL, GLFW, GLSL, and WebGL topics frame its graphics-tooling context.

### 来源

- <https://api.github.com/repos/patriciogonzalezvivo/glslViewer>
- <https://github.com/patriciogonzalezvivo/glslViewer>
- <https://github.com/patriciogonzalezvivo/glslViewer/wiki>
- <https://raw.githubusercontent.com/patriciogonzalezvivo/glslViewer/main/README.md>


## 安全说明

narrow executable package without higher-risk signals.

- **Geiger 风险:** 绿色 / 低
- narrow executable package without higher-risk signals

## 其他软件包管理器记录

- Nix - glslviewer: normalized package name match | nixpkgs package indexes: pkgs/by-name/gl/glslviewer/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- apk - glslviewer - 3.5.2-r0: normalized package name match | Alpine Linux edge package indexes: glslviewer from https://dl-cdn.alpinelinux.org/alpine/edge/testing/x86_64/APKINDEX.tar.gz | Console-based GLSL Sandbox for 2D/3D shaders | https://github.com/patriciogonzalezvivo/glslViewer
- Scoop - main/glslviewer: normalized package name match | Scoop official bucket manifest trees: bucket/glslviewer.json from https://api.github.com/repos/ScoopInstaller/Main/git/trees/master?recursive=1


## Combined YAML source

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


## 来源

- 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
