# 使用 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
- **软件包管理器页面:** <https://formulae.brew.sh/formula/jless>
- **版本:** 0.9.0
- **来源摘要:** Command-line pager for JSON data
- **主页:** <https://jless.io/>
- **仓库:** <https://github.com/PaulJuliusMartinez/jless>
- **上游文档:** <https://jless.io/>
- **许可证:** MIT
- **源码归档:** <https://github.com/PaulJuliusMartinez/jless/archive/refs/tags/v0.9.0.tar.gz>
- **已生成:** 2026-08-04T22:13:35+00:00

## 可执行文件

- jless (cli)
- jless (别名)

## 构建依赖

- rust

## 安装行为

- post-install 钩子: 未定义
- Bottle: 可用 于 arm64_big_sur, arm64_linux, arm64_monterey, arm64_sequoia, arm64_sonoma, arm64_tahoe, arm64_ventura, big_sur, monterey, sonoma, ventura, x86_64_linux

## 版本和新鲜度

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

`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

## 源数据库详情

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

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

- 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


## 相关链接

- [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.
- [Networking and protocol packages](https://pkg.so/zh-hans/networking-protocol-tools/) - Matched network, protocol, or remote-service metadata.
- [Database and data packages](https://pkg.so/zh-hans/database-data-tools/) - Matched database, SQL, migration, or data-store metadata.
- [rust](https://pkg.so/zh-hans/brew/rust/) - Build dependency declared by Homebrew.
- [sonic](https://pkg.so/zh-hans/brew/sonic/) - Shares pkgdb curated category or tags: cli, data, search.
- [miller](https://pkg.so/zh-hans/brew/miller/) - Shares pkgdb curated category or tags: cli, data, json.
- [meilisearch](https://pkg.so/zh-hans/brew/meilisearch/) - Shares pkgdb curated category or tags: cli, data, search.
- [csvlens](https://pkg.so/zh-hans/brew/csvlens/) - Shares pkgdb curated category or tags: cli, data, viewer.
- [vespa-cli](https://pkg.so/zh-hans/brew/vespa-cli/) - Shares pkgdb curated category or tags: cli, data, search.
- [solr](https://pkg.so/zh-hans/brew/solr/) - Shares pkgdb curated category or tags: cli, data, search.
- [opensearch-dashboards](https://pkg.so/zh-hans/brew/opensearch-dashboards/) - Shares pkgdb curated category or tags: cli, data, search.
- [qo](https://pkg.so/zh-hans/brew/qo/) - Shares pkgdb curated category or tags: cli, data, json.
- [fx](https://pkg.so/zh-hans/npm/fx/) - Both packages work with overlapping file formats or content types. Shared terms: cli, command-line, data, json, line.
- [jsome](https://pkg.so/zh-hans/npm/jsome/) - Both packages work with overlapping file formats or content types. Shared terms: cli, command-line, data, json, line.

## 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
- 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
