# 使用 Homebrew, Nix 安装 jikken

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

## 安装

```sh
sudo av install brew:jikken
```

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install jikken
```

  证据: local Homebrew formula metadata

### Linux

- Nix (92%):

```sh
nix profile install nixpkgs#jikken
```

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

## 软件包事实

- **软件包键:** brew:jikken
- **软件包管理器:** Homebrew
- **版本:** 0.8.4
- **来源摘要:** Powerful, source control friendly REST API testing toolkit
- **主页:** <https://jikken.io/>
- **仓库:** <https://github.com/jikkenio/jikken>
- **已生成:** 2026-08-03T19:37:03+00:00

## 可执行文件

- jk (别名)

## 安装行为

- Bottle: 不可用

## 版本和新鲜度

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

Jikken is a Rust-based command-line tool for source-control-friendly REST API testing. It uses JKT test definition files, expressed in YAML or JSON, so API checks can live beside application code and run through the `jk` command in local shells or CI jobs.

### 项目历史

The project describes its origin as a tool built to validate complex data APIs used by analytics dashboards while fitting into source control and CI/CD workflows. Its first public release, v0.1.0, shipped at the end of 2022 with basic YAML/JSON test definitions, request execution, response comparisons, tags, variables, extraction, dependencies, and iteration support.

Through 2023 and 2024, Jikken evolved from a simple runner into a broader API-testing toolkit. The changelog shows the move to command-oriented usage with `jk run` and `jk dryrun`, support for staged tests and setup/cleanup, a user-path configuration file, JUnit output, OpenAPI-based test generation, a VSCode extension, secrets, body schemas, generated test data, and formatting and validation commands.

### 采用历史

Jikken's distribution history is tied to Rust and cross-platform package channels. The project publishes to crates.io and documents installation through Cargo, Homebrew/Linuxbrew, Chocolatey, prebuilt GitHub release binaries, and source builds, which made it practical for mixed macOS, Linux, and Windows teams to add the same API-test runner to developer machines and CI agents.

### 使用方式

Jikken is used by writing `.jkt` files that define requests and validations, then running `jk run`, `jk dryrun`, `jk list`, `jk format`, or `jk validate`. The documented examples emphasize status-code checks, multi-stage flows, token extraction from one response into later requests, body comparison between API versions, ignored response fields, tag filtering, and recursive discovery.

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

For package collectors, Jikken is a small example of the post-Postman CLI testing niche: API tests stored as plain files, versioned with application code, runnable without a GUI, and packaged through Rust's cargo ecosystem as well as desktop package managers. Its history also shows a common modern path for CLI tools: start with a narrow runner, then add OpenAPI generation, JUnit output, editor support, secrets, and platform binaries as automation use grows.

### 时间线

- 2022: v0.1.0 introduced the Jikken CLI, YAML/JSON test definitions, variables, comparisons, tags, and ordered test dependencies.
- 2023: v0.4.0 moved execution into explicit commands such as `jk run` and `jk dryrun`; v0.5.0 added optional telemetry and user-path configuration.
- 2024: v0.7.0 added JUnit output, OpenAPI test generation, `jk list`, and a VSCode extension for JKT files.
- 2024: v0.8.0 added secrets, body schemas, generated data for fuzz-style validation, `jk format`, and `jk validate`.
- 2026: v0.8.4 added numeric array indexing for variable extraction from root-level JSON arrays.

### Related projects

- Jikken sits near GUI API clients and test tools such as Postman, Insomnia, Newman, HTTPie, and curl, but its package-manager identity is closer to Rust CLI tools that expect plain files, CI execution, and reproducible installation. Its OpenAPI generation connects it to schema-first API workflows.

### 来源

- <https://api.github.com/repos/jikkenio/jikken/releases?per_page=100>
- <https://crates.io/api/v1/crates/jikken>
- <https://crates.io/crates/jikken>
- <https://github.com/jikkenio/jikken>
- <https://jikken.io/docs/>
- <https://raw.githubusercontent.com/jikkenio/jikken/main/CHANGELOG.md>


## 安全说明

narrow executable package without higher-risk signals.

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


## Configuration and credential file locations

These source-backed paths show where this package keeps local settings or durable credentials. Automic Vault can use them as review targets for secret scanning, migration, and command approval.


## Configuration files

- Unix: ./.jikken

## Credential files

- Unix: ./.jikken
## 其他软件包管理器记录

- Nix - jikken: normalized package name match | nixpkgs package indexes: pkgs/by-name/ji/jikken/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1


## Combined YAML source

View the package source record on GitHub. [combined/jikken.yml](https://github.com/mxcl/pkgdb/blob/main/combined/jikken.yml)


## 来源

- pkg.so package database
- Geiger risk classifier
- curated configuration and credential file locations
- curated package history
- pkgdb category and tag curation
- external package-manager database matches
- cross-ecosystem install command graph
