# 使用 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
- **软件包管理器页面:** <https://formulae.brew.sh/formula/glslviewer>
- **版本:** 3.5.2
- **来源摘要:** Live-coding console tool that renders GLSL Shaders
- **主页:** <https://patriciogonzalezvivo.com/2015/glslViewer/>
- **仓库:** <https://github.com/patriciogonzalezvivo/glslViewer>
- **上游文档:** <https://patriciogonzalezvivo.com/2015/glslViewer/>
- **许可证:** BSD-3-Clause
- **源码归档:** <https://github.com/patriciogonzalezvivo/glslViewer.git>
- **已生成:** 2026-08-04T22:13:35+00:00

## 可执行文件

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

## 依赖

- ffmpeg
- glfw

## 构建依赖

- cmake
- pkgconf

## macOS 提供的库

- ncurses

## 安装行为

- post-install 钩子: 未定义
- Bottle: 可用 于 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux

## 版本和新鲜度

- 页面生成时间: 2026-08-04
- 管理器版本: 3.5.2
- 本地数据: OK
- 上游仓库: https://github.com/patriciogonzalezvivo/glslViewer
- 信息: No package-manager update timestamp was available.
- 信息: No cached GitHub release or tag data was available.
## 项目历史与用法

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

## 源数据库详情

- **Source Database:** Homebrew formula API
- **Tap:** homebrew/core
- **Full Name:** glslviewer
- **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

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

- 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


## 相关链接

- [Terminal utility packages](https://pkg.so/zh-hans/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [Text processing packages](https://pkg.so/zh-hans/text-processing-tools/) - Matched text, document, or structured-data processing metadata.
- [Developer build packages](https://pkg.so/zh-hans/developer-build-tools/) - Matched build, compiler, generator, or developer workflow metadata.
- [Networking and protocol packages](https://pkg.so/zh-hans/networking-protocol-tools/) - Matched network, protocol, or remote-service metadata.
- [ffmpeg](https://pkg.so/zh-hans/brew/ffmpeg/) - Runtime dependency declared by Homebrew.
- [pkgconf](https://pkg.so/zh-hans/brew/pkgconf/) - Build dependency declared by Homebrew.
- [cmake](https://pkg.so/zh-hans/brew/cmake/) - Build dependency declared by Homebrew.
- [glslang](https://pkg.so/zh-hans/brew/glslang/) - Shares pkgdb curated category or tags: cli, developer-tools, glsl, opengl.
- [waffle](https://pkg.so/zh-hans/brew/waffle/) - Shares pkgdb curated category or tags: cli, developer-tools, graphics, opengl.
- [shaderc](https://pkg.so/zh-hans/brew/shaderc/) - Shares pkgdb curated category or tags: cli, developer-tools, graphics.
- [molten-vk](https://pkg.so/zh-hans/brew/molten-vk/) - Shares pkgdb curated category or tags: cli, developer-tools, graphics.
- [fltk](https://pkg.so/zh-hans/brew/fltk/) - Shares pkgdb curated category or tags: cli, developer-tools, opengl.
- [vulkan-tools](https://pkg.so/zh-hans/brew/vulkan-tools/) - Shares pkgdb curated category or tags: cli, developer-tools, graphics.
- [notcurses](https://pkg.so/zh-hans/brew/notcurses/) - Shares pkgdb curated category or tags: cli, developer-tools, graphics.
- [logstalgia](https://pkg.so/zh-hans/brew/logstalgia/) - Shares pkgdb curated category or tags: cli, developer-tools, opengl.
- [naga-cli](https://pkg.so/zh-hans/brew/naga-cli/) - Local package facts share a topical domain. Shared terms: cli, developer, developer-tools, graphics, shader.

## 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
- package-page enrichment
- curated package history
- package version freshness
- pkgdb category and tag curation
- package relationship graph
- external package-manager database matches
- cross-ecosystem install command graph
