# 使用 Homebrew, apk, MacPorts, Nix, pacman, zypper 安装 jless

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

## 安装

```sh
sudo av install brew:jless
```

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install jless
```

  证据: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install jless
```

  证据: MacPorts ports tree: textproc/jless/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1

### Linux

- apk (92%):

```sh
sudo apk add jless
```

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

- Nix (92%):

```sh
nix profile install nixpkgs#jless
```

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

- pacman (92%):

```sh
sudo pacman -S jless
```

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

- zypper (92%):

```sh
sudo zypper install jless
```

  证据: openSUSE Tumbleweed package metadata: jless from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst

## 软件包事实

- **软件包键:** brew:jless
- **软件包管理器:** Homebrew
- **版本:** 0.9.0
- **来源摘要:** Command-line pager for JSON data
- **主页:** <https://jless.io/>
- **仓库:** <https://github.com/PaulJuliusMartinez/jless>
- **已生成:** 2026-08-03T19:37:03+00:00

## 可执行文件

- jless (别名)

## 安装行为

- Bottle: 不可用

## 版本和新鲜度

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

`jless` is a Rust command-line viewer for JSON data. Its README positions it as a replacement for combinations of `less`, `jq`, `cat`, and an editor when the task is reading, exploring, and searching JSON at the terminal.

### 项目历史

The GitHub repository was created in April 2021. The project developed as a standalone binary with a dedicated site at jless.io and a mascot/logo identity, while its user guide expanded beyond simple viewing into navigation, search, copying, printing, YAML handling, and newline-delimited JSON support.

The release stream visible in the repository tags includes 0.7.x through 0.9.0, with the 0.9.0 GitHub release adding line numbers, deeper collapse and expand commands, print commands, and search/scrolling fixes.

### 采用历史

The input package metadata records `jless` in Homebrew, MacPorts, Nix, apk, pacman, and zypper. The project README also lists Homebrew, MacPorts, Arch, Void, NetBSD, FreeBSD, Cargo, and prebuilt release binaries, showing the package fits the common 'single fast CLI binary' distribution pattern.

### 使用方式

`jless` reads JSON from files or standard input, including data piped from APIs, `jq`, or log streams. It focuses on interactive exploration: users expand and collapse objects, move with vim-inspired commands, search across pretty-formatted data, copy JSON paths or values, and switch between data and line display modes.

The user guide also documents YAML input and newline-delimited JSON, which makes the tool useful for structured logs and command-line data inspection beyond one-off pretty printing.

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

`jless` occupies a recognizable niche in the terminal data-toolchain: it is less a transformer like `jq` and more an interactive pager specialized for structured data. That makes it attractive for package collections because it pairs well with curl, `jq`, logs, and API debugging without requiring a language runtime at use time.

### 时间线

- 2021: The GitHub repository is created.
- 2023: Release v0.9.0 adds line numbers, print commands, deeper collapse and expand commands, and several interaction fixes.
- 2023: The README documents distribution through multiple OS package managers plus Cargo and prebuilt binaries.

### Related projects

- The README explicitly names `less`, `jq`, `cat`, and editors as tools `jless` can replace for viewing JSON. The user guide also documents interoperability with `jq` output and refers to the Rust regex engine used for searching.

### 来源

- Project README, jless user guide, GitHub repository metadata, GitHub release metadata, and Homebrew formula metadata.


## 安全说明

narrow executable package without higher-risk signals.

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

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

- Nix - jless: normalized package name match | nixpkgs package indexes: pkgs/by-name/jl/jless/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- apk - jless - 0.9.0-r0: normalized package name match | Alpine Linux edge package indexes: jless from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | command-line pager for JSON data | https://pauljuliusmartinez.github.io/
- pacman - jless - 0.9.0-3: normalized package name match | Arch Linux sync databases: jless from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz | A command-line pager for JSON data | https://github.com/PaulJuliusMartinez/jless
- zypper - jless - 0.9.0-1.10: normalized package name match | openSUSE Tumbleweed package metadata: jless from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst | Pager for JSON (or YAML) data | https://jless.io/
- MacPorts - jless: normalized package name match | MacPorts ports tree: textproc/jless/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/jless.yml](https://github.com/mxcl/pkgdb/blob/main/combined/jless.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
