# 使用 Homebrew, apk, Nix, pacman 安装 check-jsonschema

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

## 安装

```sh
sudo av install brew:check-jsonschema
```

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install check-jsonschema
```

  证据: local Homebrew formula metadata

### Linux

- apk (92%):

```sh
sudo apk add check-jsonschema
```

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

- Nix (92%):

```sh
nix profile install nixpkgs#check-jsonschema
```

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

- pacman (92%):

```sh
sudo pacman -S check-jsonschema
```

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

## 软件包事实

- **软件包键:** brew:check-jsonschema
- **软件包管理器:** Homebrew
- **版本:** 0.37.4
- **来源摘要:** JSON Schema CLI
- **主页:** <https://github.com/python-jsonschema/check-jsonschema>
- **仓库:** <https://github.com/python-jsonschema/check-jsonschema>
- **最后更新:** 2026-06-30T23:53:53Z
- **已生成:** 2026-08-03T19:37:03+00:00

## 可执行文件

- check-jsonschema (别名)

## 安装行为

- Bottle: 不可用

## 版本和新鲜度

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

check-jsonschema is a Python CLI and pre-commit hook for validating JSON, YAML, and related configuration files against JSON Schema.

### 项目历史

The repository and first PyPI release both date to January 2021. The project is part of the python-jsonschema GitHub organization and is documented as a CLI and hook built on the jsonschema library, with local and remote schema support.

### 采用历史

The README and documentation show two adoption paths: direct CLI installation with pipx or Homebrew, and use as a pre-commit hook. The batch input records additional packaging in Alpine, Nix, and Arch Linux.

### 使用方式

A common command is `check-jsonschema --schemafile schema.json instance.json`. The tool can also use built-in schemas for GitHub Actions, Azure Pipelines, Renovate, GitLab CI, Read the Docs, Dependabot, and other configuration formats.

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

Package nerds care because check-jsonschema packages SchemaStore-style validation and pre-commit integration into one small command, making repository metadata, CI files, and dependency-bot configs checkable from editors, hooks, and CI.

### 时间线

- 2021: GitHub repository created.
- 2021: 0.1.0 uploaded to PyPI.
- 2023: 0.23.x releases published on GitHub.
- 2026: Documentation version 0.37.4 published on Read the Docs.

### Related projects

- python-jsonschema/jsonschema is the underlying validation library.
- pre-commit is a primary integration surface.
- SchemaStore and vendor CI/config schemas are used through built-in schema choices.

### 来源

- <https://github.com/python-jsonschema/check-jsonschema>
- <https://check-jsonschema.readthedocs.io/en/stable/>
- <https://check-jsonschema.readthedocs.io/en/stable/usage.html>
- <https://pypi.org/pypi/check-jsonschema/json>


## 安全说明

没有找到 check-jsonschema 的匹配本地密钥处理 manifest。Nucleus 软件包元数据仍在此发布，以便未来覆盖拥有稳定的软件包 URL。


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

- Nix - check-jsonschema: normalized package name match | nixpkgs package indexes: pkgs/by-name/ch/check-jsonschema/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- apk - check-jsonschema - 0.37.4-r0: normalized package name match | Alpine Linux edge package indexes: check-jsonschema from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | A JSON Schema CLI built on jsonschema. The schema may be specified as a local or remote (HTTP or HTTPS) file | https://github.com/python-jsonschema/check-jsonschema
- apk - check-jsonschema-pyc - 0.37.4-r0: normalized package name match | Alpine Linux edge package indexes: check-jsonschema-pyc from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | Precompiled Python bytecode for check-jsonschema | https://github.com/python-jsonschema/check-jsonschema
- pacman - check-jsonschema - 0.37.4-1: normalized package name match | Arch Linux sync databases: check-jsonschema from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz | A JSON Schema CLI and pre-commit hook built on jsonschema | https://github.com/python-jsonschema/check-jsonschema


## Combined YAML source

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