# 使用 Homebrew, apk, apt, Nix, pacman, scoop 安装 lsix

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

## 安装

```sh
sudo av install brew:lsix
```

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install lsix
```

  证据: local Homebrew formula metadata

### Linux

- apk (92%):

```sh
sudo apk add lsix
```

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

- Debian apt (92%):

```sh
sudo apt install lsix
```

  证据: Debian stable package indexes: lsix from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz

- Nix (92%):

```sh
nix profile install nixpkgs#lsix
```

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

- pacman (92%):

```sh
sudo pacman -S lsix
```

  证据: Arch Linux sync databases: lsix from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz

### Windows

- Scoop (92%):

```sh
scoop install main/lsix
```

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

## 软件包事实

- **软件包键:** brew:lsix
- **软件包管理器:** Homebrew
- **软件包管理器页面:** <https://formulae.brew.sh/formula/lsix>
- **版本:** 1.9.1
- **来源摘要:** Shows thumbnails in terminal using sixel graphics
- **主页:** <https://github.com/hackerb9/lsix>
- **仓库:** <https://github.com/hackerb9/lsix>
- **许可证:** GPL-3.0-or-later OR X11
- **源码归档:** <https://github.com/hackerb9/lsix/archive/refs/tags/1.9.1.tar.gz>
- **已生成:** 2026-08-04T22:13:35+00:00

## 可执行文件

- lsix (cli)
- lsix (别名)

## 依赖

- bash
- imagemagick

## 安装行为

- post-install 钩子: 未定义
- Bottle: 可用 于 all

## 版本和新鲜度

- 页面生成时间: 2026-08-04
- 管理器版本: 1.9.1
- 本地数据: OK
- 上游仓库: https://github.com/hackerb9/lsix
- 检测到的最新版本: 1.9.1 (当前)
- 信息: No package-manager update timestamp was available.
## 项目历史与用法

lsix is a Bash script that behaves like an image-oriented ls: it displays thumbnail montages directly in Sixel-capable terminals. The README positions it as a simple terminal image browser built on ImageMagick and Sixel escape sequences.

### 项目历史

The GitHub repository was created in 2017. Its README emphasizes simplicity: installation is copying the single lsix script into the user's PATH, with ImageMagick as the only prerequisite.

The project grew alongside renewed interest in inline terminal graphics. The README documents tested or reported support across xterm, MLterm, foot, WezTerm, iTerm2, Konsole, WSLtty, MinTTY, Yaft, and other Sixel-capable terminals, while explicitly listing common incompatible terminals.

### 采用历史

lsix is packaged by several Unix package managers despite being a single script. The supplied package facts list Homebrew, Debian, Alpine, Arch, Nix, and Scoop, and the official README directly mentions Homebrew as a macOS installation path.

The repository's visible GitHub metadata shows thousands of stars and more than one hundred forks, which is unusually high for a small shell utility and reflects its popularity among terminal-graphics enthusiasts.

### 使用方式

Typical usage is running `lsix` in a directory to display local image thumbnails, or passing explicit filenames and shell globs. Because it delegates decoding to ImageMagick, the README notes broad support for bitmap and non-bitmap formats, with GIFs and multi-image files expanded into montages.

The README says lsix has no command-line flags or configuration files; users who want to change tile width, font, or similar defaults edit variables at the top of the script.

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

lsix is notable because it is almost aggressively small: a Bash script plus ImageMagick, using old Sixel terminal graphics to solve a real daily problem over SSH. Package nerds tend to care about it because it sits at the intersection of terminal capability detection, image conversion, and the long tail of terminal emulator compatibility.

### 时间线

- 2017: GitHub repository created.
- 2024: GitHub repository still active with README updates and a large user-visible star/fork footprint.
- 2026: Current package facts list lsix in multiple Unix package managers.

### Related projects

- Related projects include ImageMagick, which performs the image conversion and montage work, libsixel, which the README discusses as an alternative library approach, and Sixel-capable terminal emulators such as xterm, MLterm, foot, WezTerm, and iTerm2.

### 来源

- <https://api.github.com/repos/hackerb9/lsix>
- <https://github.com/hackerb9/lsix>
- <https://github.com/hackerb9/lsix#readme>
- source_facts.package-manager


## 安全说明

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:** lsix
- **Version Scheme:** 0
- **Revision:** 0
- **Bottle Stable Root URL:** <https://ghcr.io/v2/homebrew/core>
- **Deprecated:** no
- **Disabled:** no
- **Keg Only:** no
- **URL Keys:** stable

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

- Debian apt - lsix - 1.9.1-2: normalized package name match | Debian stable package indexes: lsix from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | Show thumbnails in terminal using sixel graphics | https://github.com/hackerb9/lsix
- Nix - lsix: normalized package name match | nixpkgs package indexes: pkgs/by-name/ls/lsix/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- apk - lsix - 1.8.2-r0: normalized package name match | Alpine Linux edge package indexes: lsix from https://dl-cdn.alpinelinux.org/alpine/edge/testing/x86_64/APKINDEX.tar.gz | Preview thumbnails in the terminal using sixel graphics | https://github.com/hackerb9/lsix
- pacman - lsix - 1.9.1-1: normalized package name match | Arch Linux sync databases: lsix from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz | Like ls, but for images, shows thumbnails in terminal using sixel graphics | https://github.com/hackerb9/lsix
- Scoop - main/lsix: normalized package name match | Scoop official bucket manifest trees: bucket/lsix.json from https://api.github.com/repos/ScoopInstaller/Main/git/trees/master?recursive=1


## 相关链接

- [Source-control packages](https://pkg.so/zh-hans/source-control-tools/) - Belongs to a source-control command family.
- [Terminal utility packages](https://pkg.so/zh-hans/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [Networking and protocol packages](https://pkg.so/zh-hans/networking-protocol-tools/) - Matched network, protocol, or remote-service metadata.
- [Media and graphics packages](https://pkg.so/zh-hans/media-graphics-tools/) - Matched media, image, audio, video, or graphics metadata.
- [imagemagick](https://pkg.so/zh-hans/brew/imagemagick/) - Runtime dependency declared by Homebrew.
- [bash](https://pkg.so/zh-hans/brew/bash/) - Runtime dependency declared by Homebrew.
- [libcaca](https://pkg.so/zh-hans/brew/libcaca/) - Shares pkgdb curated category or tags: cli, media, terminal, terminal-graphics.
- [timg](https://pkg.so/zh-hans/brew/timg/) - Shares pkgdb curated category or tags: cli, image-viewer, media, sixel, terminal.
- [libraw](https://pkg.so/zh-hans/brew/libraw/) - Shares pkgdb curated category or tags: cli, image, media.
- [chafa](https://pkg.so/zh-hans/brew/chafa/) - Shares pkgdb curated category or tags: cli, media, terminal-graphics.
- [viu](https://pkg.so/zh-hans/brew/viu/) - Shares pkgdb curated category or tags: cli, image-viewer, media, terminal.
- [catimg](https://pkg.so/zh-hans/brew/catimg/) - Shares pkgdb curated category or tags: cli, image-viewer, media, terminal.
- [terminalimageviewer](https://pkg.so/zh-hans/brew/terminalimageviewer/) - Shares pkgdb curated category or tags: cli, image-viewer, media, terminal.
- [makeicns](https://pkg.so/zh-hans/brew/makeicns/) - Shares pkgdb curated category or tags: cli, image, media.
- [tpix](https://pkg.so/zh-hans/brew/tpix/) - Both packages work with overlapping file formats or content types. Shared terms: cli, graphics, image, image-viewer, media.
- [pqiv](https://pkg.so/zh-hans/brew/pqiv/) - Both packages work with overlapping file formats or content types. Shared terms: cli, image, image-viewer, imagemagick, media.

## Combined YAML source

View the package source record on GitHub. [combined/lsix.yml](https://github.com/mxcl/pkgdb/blob/main/combined/lsix.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
