# 使用 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
- **软件包管理器页面:** <https://formulae.brew.sh/formula/check-jsonschema>
- **版本:** 0.37.4
- **来源摘要:** JSON Schema CLI
- **主页:** <https://github.com/python-jsonschema/check-jsonschema>
- **仓库:** <https://github.com/python-jsonschema/check-jsonschema>
- **许可证:** Apache-2.0
- **源码归档:** <https://files.pythonhosted.org/packages/f3/dd/27b7f575586505c3d71b66b1fd60076feeba1ba7ffd1303fbf5a70cedad6/check_jsonschema-0.37.4.tar.gz>
- **最后更新:** 2026-06-30T23:53:53Z
- **已生成:** 2026-08-04T22:13:35+00:00

## 可执行文件

- check-jsonschema (cli)
- check-jsonschema (别名)

## 依赖

- certifi
- python@3.14
- rpds-py

## 构建依赖

- rust

## 安装行为

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

## 版本和新鲜度

- 页面生成时间: 2026-08-04
- 管理器版本: 0.37.4
- 管理器更新时间: 2026-06-30
- 本地数据: OK
- 上游仓库: https://github.com/python-jsonschema/check-jsonschema
- 信息: No cached GitHub release or tag data was available.
## 项目历史与用法

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。软件包元数据仍在此发布，以便未来覆盖拥有稳定的软件包 URL。


## 源数据库详情

- **Source Database:** Homebrew formula API
- **Tap:** homebrew/core
- **Full Name:** check-jsonschema
- **Version Scheme:** 0
- **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 - 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


## 相关链接

- [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.
- [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.
- [python@3.14](https://pkg.so/zh-hans/brew/python-3-14/) - Runtime dependency declared by Homebrew.
- [rust](https://pkg.so/zh-hans/brew/rust/) - Build dependency declared by Homebrew.
- [kubeconform](https://pkg.so/zh-hans/brew/kubeconform/) - Shares pkgdb curated category or tags: cli, developer-tools, json-schema, validation.
- [epubcheck](https://pkg.so/zh-hans/brew/epubcheck/) - Shares pkgdb curated category or tags: cli, developer-tools, validation.
- [action-validator](https://pkg.so/zh-hans/brew/action-validator/) - Shares pkgdb curated category or tags: cli, developer-tools, validation.
- [black](https://pkg.so/zh-hans/brew/black/) - Shares pkgdb curated category or tags: cli, developer-tools, pre-commit, python.
- [yaml-language-server](https://pkg.so/zh-hans/brew/yaml-language-server/) - Shares pkgdb curated category or tags: cli, developer-tools, json-schema, validation.
- [isort](https://pkg.so/zh-hans/brew/isort/) - Shares pkgdb curated category or tags: cli, developer-tools, pre-commit, python.
- [yamale](https://pkg.so/zh-hans/brew/yamale/) - Shares pkgdb curated category or tags: cli, developer-tools, python, validation.
- [gersemi](https://pkg.so/zh-hans/brew/gersemi/) - Shares pkgdb curated category or tags: cli, developer-tools, pre-commit, python.
- [djhtml](https://pkg.so/zh-hans/brew/djhtml/) - Both packages touch the same language runtime or ecosystem. Shared terms: cli, commit, developer, developer-tools, pre.
- [reorder-python-imports](https://pkg.so/zh-hans/brew/reorder-python-imports/) - Both packages touch the same language runtime or ecosystem. Shared terms: cli, commit, developer, developer-tools, pre.

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