# 使用 Homebrew, apk, MacPorts, Nix, winget 安装 katana

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

## 安装

```sh
sudo av install brew:katana
```

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install katana
```

  证据: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install katana
```

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

### Linux

- apk (92%):

```sh
sudo apk add katana
```

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

- Nix (92%):

```sh
nix profile install nixpkgs#katana
```

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

### Windows

- winget (92%):

```sh
winget install --id HiroyukiFuruno.katana-desktop -e
```

  证据: Windows Package Manager source index: HiroyukiFuruno.katana-desktop from https://cdn.winget.microsoft.com/cache/source.msix

## 软件包事实

- **软件包键:** brew:katana
- **软件包管理器:** Homebrew
- **软件包管理器页面:** <https://formulae.brew.sh/formula/katana>
- **版本:** 1.6.1
- **来源摘要:** Crawling and spidering framework
- **主页:** <https://github.com/projectdiscovery/katana>
- **仓库:** <https://github.com/projectdiscovery/katana>
- **许可证:** MIT
- **源码归档:** <https://github.com/projectdiscovery/katana/archive/refs/tags/v1.6.1.tar.gz>
- **最后更新:** 2026-07-27T21:58:37+02:00
- **已生成:** 2026-08-04T22:13:35+00:00

## 可执行文件

- katana (cli)
- katana (别名)

## 构建依赖

- go

## 安装行为

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

## 版本和新鲜度

- 页面生成时间: 2026-08-04
- 管理器版本: 1.6.1
- 管理器更新时间: 2026-07-27
- 本地数据: OK
- 上游仓库: https://github.com/projectdiscovery/katana
- 检测到的最新版本: v1.6.1 (当前)
## 项目历史与用法

katana is ProjectDiscovery's Go-based crawling and spidering framework for security automation, designed for fast CLI crawling with both standard HTTP and headless-browser modes.

### 项目历史

ProjectDiscovery introduced katana publicly in November 2022 as a crawler focused on automation pipelines. Its README emphasizes standard and headless crawling, JavaScript parsing, scope control, automatic form filling, and structured output.

The 1.0.0 release in March 2023 made a breaking change to the JSON output structure, a signal that katana had moved from early crawler prototype to a more stable automation surface for downstream tooling.

### 采用历史

katana fits the broader ProjectDiscovery ecosystem of small security CLIs used in bug bounty, reconnaissance, and continuous security workflows. Package-manager entries across Homebrew, Alpine, MacPorts, and Nix reflect that it is meant to be installed into shell pipelines and CI jobs.

### 使用方式

The documented usage accepts URLs from flags, files, or stdin and emits results to stdout, files, or JSON. Its headless mode targets JavaScript-heavy sites and single-page applications that plain HTTP crawlers can miss.

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

katana is notable as a security package because it packages browser-aware crawling as a single CLI with predictable output. That makes it easy to chain with URL collectors, template scanners, and other ProjectDiscovery tools.

### 时间线

- 2022-11-07: Initial release commit
- 2023-03-20: v1.0.0 release changed the JSON output structure
- 2024-07-23: v1.2.0 release line continued the post-1.0 series
- 2026-01-06: v1.4.0 release appeared in the GitHub release list

### Related projects

- Related ProjectDiscovery tools include nuclei, httpx, subfinder, and naabu; adjacent crawler concepts include headless-browser crawling, JavaScript endpoint extraction, and web reconnaissance pipelines.

### 来源

- <https://docs.projectdiscovery.io/opensource/katana/overview>
- <https://formulae.brew.sh/formula/katana>
- <https://github.com/projectdiscovery/katana>
- <https://github.com/projectdiscovery/katana/commit/eed0e33049830e3c917c5ab5baeeea3cfec740b0.patch>
- <https://github.com/projectdiscovery/katana/releases/tag/v1.0.0>


## 安全说明

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: ~/.config/katana/form-config.yaml, ~/.config/katana/field-config.yaml
## 源数据库详情

- **Source Database:** Homebrew formula API
- **Tap:** homebrew/core
- **Full Name:** katana
- **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 - katana: normalized package name match | nixpkgs package indexes: pkgs/by-name/ka/katana/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- apk - katana - 1.6.1-r2: normalized package name match | Alpine Linux edge package indexes: katana from https://dl-cdn.alpinelinux.org/alpine/edge/testing/x86_64/APKINDEX.tar.gz | Next-generation crawling and spidering framework | https://github.com/projectdiscovery/katana
- apk - katana-doc - 1.6.1-r2: normalized package name match | Alpine Linux edge package indexes: katana-doc from https://dl-cdn.alpinelinux.org/alpine/edge/testing/x86_64/APKINDEX.tar.gz | Next-generation crawling and spidering framework (documentation) | https://github.com/projectdiscovery/katana
- MacPorts - katana: normalized package name match | MacPorts ports tree: www/katana/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1
- winget - HiroyukiFuruno.katana-desktop: normalized package name match | Windows Package Manager source index: HiroyukiFuruno.katana-desktop from https://cdn.winget.microsoft.com/cache/source.msix


## 相关链接

- [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.
- [Language runtime packages](https://pkg.so/zh-hans/language-runtime-packages/) - Matched language runtime, compiler, or interpreter metadata.
- [Networking and protocol packages](https://pkg.so/zh-hans/networking-protocol-tools/) - Matched network, protocol, or remote-service metadata.
- [go](https://pkg.so/zh-hans/brew/go/) - Build dependency declared by Homebrew.
- [ffuf](https://pkg.so/zh-hans/brew/ffuf/) - Shares pkgdb curated category or tags: cli, go, security, web-security.
- [dalfox](https://pkg.so/zh-hans/brew/dalfox/) - Shares pkgdb curated category or tags: automation, cli, security, web-security.
- [anubis](https://pkg.so/zh-hans/brew/anubis/) - Shares pkgdb curated category or tags: cli, security, web-security.
- [osv-scanner](https://pkg.so/zh-hans/brew/osv-scanner/) - Shares pkgdb curated category or tags: cli, go, security.
- [gobuster](https://pkg.so/zh-hans/brew/gobuster/) - Shares pkgdb curated category or tags: cli, go, security, web-security.
- [govulncheck](https://pkg.so/zh-hans/brew/govulncheck/) - Shares pkgdb curated category or tags: cli, go, security.
- [gosec](https://pkg.so/zh-hans/brew/gosec/) - Shares pkgdb curated category or tags: cli, go, security.
- [feroxbuster](https://pkg.so/zh-hans/brew/feroxbuster/) - Shares pkgdb curated category or tags: cli, security, web-security.
- [cloakbrowser](https://pkg.so/zh-hans/npm/cloakbrowser/) - Security-sensitive metadata or terminology overlaps. Shared terms: automation, browser, cli, security, web.

## Combined YAML source

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


## 来源

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