# 使用 Homebrew, apk, MacPorts, Nix, pacman, zypper, scoop, winget 安装 hurl

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

## 安装

```sh
sudo av install brew:hurl
```

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install hurl
```

  证据: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install hurl
```

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

### Linux

- apk (92%):

```sh
sudo apk add hurl
```

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

- Nix (92%):

```sh
nix profile install nixpkgs#hurl
```

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

- pacman (92%):

```sh
sudo pacman -S hurl
```

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

- zypper (92%):

```sh
sudo zypper install hurl
```

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

### Windows

- Scoop (92%):

```sh
scoop install main/hurl
```

  证据: Scoop official bucket manifest trees: bucket/hurl.json from https://api.github.com/repos/ScoopInstaller/Main/git/trees/master?recursive=1

- winget (92%):

```sh
winget install --id Orange-OpenSource.Hurl -e
```

  证据: Windows Package Manager source index: Orange-OpenSource.Hurl from https://cdn.winget.microsoft.com/cache/source.msix

## 软件包事实

- **软件包键:** brew:hurl
- **软件包管理器:** Homebrew
- **版本:** 8.0.1
- **来源摘要:** Run and Test HTTP Requests with plain text and curl
- **主页:** <https://hurl.dev>
- **仓库:** <https://github.com/Orange-OpenSource/hurl>
- **最后更新:** 2026-06-22T14:03:44-07:00
- **已生成:** 2026-08-03T19:37:03+00:00

## 可执行文件

- hurl (别名)
- hurlfmt (别名)

## 安装行为

- Bottle: 不可用

## 版本和新鲜度

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

Hurl is an Orange Open Source command-line tool for running HTTP requests and tests from a plain-text file format. It sits between curl-style request execution and API test tooling: users can chain requests, capture values, assert headers and bodies, and emit CI-friendly reports.

### 项目历史

The public GitHub repository was created in August 2020, and the release history shows a 1.0.0 tag in December 2020. The project evolved quickly from a plain-text HTTP runner into a broader API testing tool with captures, XPath and JSONPath assertions, SOAP and GraphQL examples, reports, and formatter/import tooling.

Hurl's own README emphasizes that the HTTP engine is powered by libcurl while the surrounding CLI and file format are written in Rust. That design gave the tool a package-nerd-friendly niche: curl-compatible network behavior wrapped in a reproducible test file that can live in a repository.

### 采用历史

The installation documentation and package metadata show distribution through Homebrew, MacPorts, Nix, Arch, Scoop, Winget, Alpine, and other channels. The changelog thanks outside contributors across releases, which indicates usage beyond the original Orange engineering team.

### 使用方式

Hurl files usually describe one or more HTTP exchanges with expected status codes, captures, and assertions. The README examples cover HTML, REST/JSON, SOAP, GraphQL, performance assertions, hashes, and CI output formats such as JUnit, TAP, and HTML.

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

Hurl matters to package and CLI users because it makes HTTP integration checks small, reviewable, and runtime-light. Instead of committing shell scripts around curl plus a separate assertion language, teams can commit one text fixture and run it locally or in CI.

### 时间线

- 2020: Public GitHub repository created and early 0.99.x releases published.
- 2020: 1.0.0 release tag published in December.
- 2021: 1.x releases continued the API-testing feature set.
- 2025: 7.1.0 added items such as secrets-file support and additional authentication options.
- 2026: 8.0.0 changed several CLI options and moved JSONPath handling toward RFC 9535 behavior.

### Related projects

- Hurl is closely related to curl and libcurl, and it overlaps with API-testing tools that store requests as text or collections. Its `hurlfmt` executable also connects it to the habit of importing, formatting, and reviewing HTTP requests as source files.

### 来源

- Project README, changelog, documentation, GitHub release metadata, and Homebrew package metadata were used.


## 安全说明

broad file, network, media, or database tool signal.

- **Geiger 风险:** blue / 中
- broad file, network, media, or database tool signal


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


## Credential files

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

- Nix - hurl: normalized package name match | nixpkgs package indexes: pkgs/by-name/hu/hurl/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- apk - hurl - 8.0.1-r0: normalized package name match | Alpine Linux edge package indexes: hurl from https://dl-cdn.alpinelinux.org/alpine/edge/testing/x86_64/APKINDEX.tar.gz | CLI to run HTTP requests defined in simple plain text format | https://hurl.dev/
- apk - hurl-bash-completion - 8.0.1-r0: normalized package name match | Alpine Linux edge package indexes: hurl-bash-completion from https://dl-cdn.alpinelinux.org/alpine/edge/testing/x86_64/APKINDEX.tar.gz | Bash completions for hurl | https://hurl.dev/
- apk - hurl-doc - 8.0.1-r0: normalized package name match | Alpine Linux edge package indexes: hurl-doc from https://dl-cdn.alpinelinux.org/alpine/edge/testing/x86_64/APKINDEX.tar.gz | CLI to run HTTP requests defined in simple plain text format (documentation) | https://hurl.dev/
- apk - hurl-fish-completion - 8.0.1-r0: normalized package name match | Alpine Linux edge package indexes: hurl-fish-completion from https://dl-cdn.alpinelinux.org/alpine/edge/testing/x86_64/APKINDEX.tar.gz | Fish completions for hurl | https://hurl.dev/
- apk - hurl-zsh-completion - 8.0.1-r0: normalized package name match | Alpine Linux edge package indexes: hurl-zsh-completion from https://dl-cdn.alpinelinux.org/alpine/edge/testing/x86_64/APKINDEX.tar.gz | Zsh completions for hurl | https://hurl.dev/
- pacman - hurl - 8.0.1-1: normalized package name match | Arch Linux sync databases: hurl from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz | Run and test HTTP requests with plain text | https://github.com/Orange-OpenSource/hurl
- zypper - hurl - 8.0.1-1.3: normalized package name match | openSUSE Tumbleweed package metadata: hurl from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst | Run and test HTTP requests with plain text | https://github.com/Orange-OpenSource/hurl
- MacPorts - hurl: normalized package name match | MacPorts ports tree: www/hurl/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1
- Scoop - main/hurl: normalized package name match | Scoop official bucket manifest trees: bucket/hurl.json from https://api.github.com/repos/ScoopInstaller/Main/git/trees/master?recursive=1
- winget - Orange-OpenSource.Hurl: normalized package name match | Windows Package Manager source index: Orange-OpenSource.Hurl from https://cdn.winget.microsoft.com/cache/source.msix


## Combined YAML source

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