# 使用 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
- **版本:** 1.6.1
- **来源摘要:** Crawling and spidering framework
- **主页:** <https://github.com/projectdiscovery/katana>
- **仓库:** <https://github.com/projectdiscovery/katana>
- **最后更新:** 2026-07-27T21:58:37+02:00
- **已生成:** 2026-08-03T19:37:03+00:00

## 可执行文件

- katana (别名)

## 安装行为

- Bottle: 不可用

## 版本和新鲜度

- 页面生成时间: 2026-08-03
- 管理器版本: 1.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
## 其他软件包管理器记录

- 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


## 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
- curated configuration and credential file locations
- curated package history
- pkgdb category and tag curation
- external package-manager database matches
- cross-ecosystem install command graph
