# 使用 Homebrew, apt, winget 安装 virustotal-cli

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

## 安装

```sh
sudo av install brew:virustotal-cli
```

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install virustotal-cli
```

  证据: local Homebrew formula metadata

### Linux

- Debian apt (92%):

```sh
sudo apt install vt
```

  证据: Debian stable package indexes: vt from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz

### Windows

- winget (92%):

```sh
winget install --id VirusTotal.vt-cli -e
```

  证据: Windows Package Manager source index: VirusTotal.vt-cli from https://cdn.winget.microsoft.com/cache/source.msix

## 软件包事实

- **软件包键:** brew:virustotal-cli
- **软件包管理器:** Homebrew
- **软件包管理器页面:** <https://formulae.brew.sh/formula/virustotal-cli>
- **版本:** 1.3.1
- **来源摘要:** Command-line interface for VirusTotal
- **主页:** <https://virustotal.github.io/vt-cli/>
- **仓库:** <https://github.com/VirusTotal/vt-cli>
- **上游文档:** <https://github.com/VirusTotal/vt-cli#readme>
- **许可证:** Apache-2.0
- **源码归档:** <https://github.com/VirusTotal/vt-cli/archive/refs/tags/1.3.1.tar.gz>
- **最后更新:** 2026-06-15T10:21:23-04:00
- **已生成:** 2026-07-08T18:08:21+00:00

## 可执行文件

- vt (cli)
- vt (别名)

## 构建依赖

- go

## 安装行为

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

## 版本和新鲜度

- 页面生成时间: 2026-07-08
- 管理器版本: 1.3.1
- 管理器更新时间: 2026-06-15
- 本地数据: OK
- 上游仓库: https://github.com/VirusTotal/vt-cli
- 检测到的最新版本: 1.3.1 (当前)
## 项目历史与用法

VirusTotal CLI, shipped upstream as vt-cli and invoked as `vt`, is VirusTotal's command-line interface for interacting with VirusTotal from terminals and scripts. It wraps common VirusTotal API workflows such as file, URL, domain, IP, analysis, download, search, hunting, and collection commands.

### 项目历史

The public vt-cli repository was created in May 2018, and GitHub releases list version 0.2.0 on May 29, 2018. The project is maintained under the VirusTotal GitHub organization, uses an Apache-2.0 license, and publishes command documentation through GitHub Pages.

vt-cli belongs to the API v3 era of VirusTotal tooling: instead of being only a web interface for manual submissions, VirusTotal documents APIs and client libraries for automation. The CLI packages that automation into a single binary with global options for API key, output format, silent mode, and verbosity.

### 采用历史

The CLI is mainly adopted by malware analysts, incident responders, threat hunters, and DevOps/security engineers who already use VirusTotal's web service. It has a narrower audience than VirusTotal itself, but it is valuable wherever terminal workflows and repeatable scripts are preferred over browser-driven lookups.

VirusTotal's own API documentation describes programmatic access for uploading and scanning files or URLs, retrieving reports, and building scripts without the website interface. vt-cli makes those same workflows accessible to shell users and package-manager users who want a maintained official client.

### 使用方式

Typical usage begins with configuring an API key, either through `vt init`, a config file, or a command-line option. Users then run commands such as `vt file`, `vt url`, `vt domain`, `vt ip`, `vt analysis`, `vt scan`, or `vt hunting`, often with JSON, YAML, or CSV output for downstream processing.

Package users tend to install vt-cli for quick hash lookups, file and URL submissions, triage scripts, and security automation. Its command surface mirrors VirusTotal object types, so it fits naturally into pipelines that already collect hashes, suspicious URLs, domains, IP addresses, or YARA/LiveHunt context.

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

virustotal-cli is package-nerd useful because it turns a web threat-intelligence service into a composable Unix-style command. It is not a scanner engine itself; its power comes from letting local scripts and incident-response notebooks ask VirusTotal for reputation and analysis data at the exact point where artifacts are being handled.

### 时间线

- 2018-05-15: The public VirusTotal/vt-cli repository was created.
- 2018-05-29: GitHub releases list vt-cli 0.2.0.
- 2026-05-19: GitHub releases list vt-cli 1.3.1.

### Related projects

- VirusTotal's API v3 is the service interface behind the CLI. The broader VirusTotal ecosystem includes the web UI, API scripts and client libraries, LiveHunt/YARA workflows, and VirusTotal Enterprise features.

### 来源

- VirusTotal API scripts and client libraries documentation: https://docs.virustotal.com/docs/api-scripts-and-client-libraries
- VirusTotal API v3 overview: https://docs.virustotal.com/reference/overview
- VirusTotal files API documentation: https://docs.virustotal.com/reference/files
- VirusTotal vt-cli GitHub repository: https://github.com/VirusTotal/vt-cli
- VirusTotal vt-cli command documentation: https://virustotal.github.io/vt-cli/doc/vt.html
- VirusTotal vt-cli releases: https://github.com/VirusTotal/vt-cli/releases


## 安全说明

没有找到 virustotal-cli 的匹配本地密钥处理 manifest。Nucleus 软件包元数据仍在此发布，以便未来覆盖拥有稳定的软件包 URL。



## 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: ~/.vt.toml

## Credential files

- Unix: ~/.vt.toml
## 源数据库详情

- **Source Database:** Homebrew formula API
- **Tap:** homebrew/core
- **Full Name:** virustotal-cli
- **Version Scheme:** 0
- **Revision:** 0
- **Bottle Stable Root URL:** <https://ghcr.io/v2/homebrew/core>
- **Deprecated:** no
- **Disabled:** no
- **Keg Only:** no
- **URL Keys:** stable

## 其他软件包管理器记录

- Debian apt - vt - 0.57721+ds-3+b1: installed executable or alias match | Debian stable package indexes: vt from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | toolset for short variant discovery in genetic sequence data | https://genome.sph.umich.edu/wiki/Vt
- Debian apt - vt-examples - 0.57721+ds-3: installed executable or alias match | Debian stable package indexes: vt-examples from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | toolset for short variant discovery in genetic sequence data (examples) | https://genome.sph.umich.edu/wiki/Vt
- Ubuntu apt - vt - 0.57721+ds-3build2: installed executable or alias match | Ubuntu 24.04 LTS package indexes: vt from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | toolset for short variant discovery in genetic sequence data | https://genome.sph.umich.edu/wiki/Vt
- Ubuntu apt - vt-examples - 0.57721+ds-3build2: installed executable or alias match | Ubuntu 24.04 LTS package indexes: vt-examples from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | toolset for short variant discovery in genetic sequence data (examples) | https://genome.sph.umich.edu/wiki/Vt
- winget - VirusTotal.vt-cli: installed executable or alias match | Windows Package Manager source index: VirusTotal.vt-cli from https://cdn.winget.microsoft.com/cache/source.msix


## 相关链接

- [Source-control packages](https://www.automicvault.com/zh-hans/pkg/source-control-tools/) - Belongs to a source-control command family.
- [Terminal utility packages](https://www.automicvault.com/zh-hans/pkg/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [Networking and protocol packages](https://www.automicvault.com/zh-hans/pkg/networking-protocol-tools/) - Matched network, protocol, or remote-service metadata.
- [Security and crypto packages](https://www.automicvault.com/zh-hans/pkg/security-crypto-tools/) - Matched security, identity, cryptography, password, signing, or certificate metadata.
- [go](https://www.automicvault.com/zh-hans/pkg/brew/go/) - Build dependency declared by Homebrew.
- [malcontent](https://www.automicvault.com/zh-hans/pkg/brew/malcontent/) - Shares av.db curated category or tags: cli, malware-analysis, security.
- [yara](https://www.automicvault.com/zh-hans/pkg/brew/yara/) - Shares av.db curated category or tags: cli, malware-analysis, security.
- [yara-x](https://www.automicvault.com/zh-hans/pkg/brew/yara-x/) - Shares av.db curated category or tags: cli, malware-analysis, security.
- [iocextract](https://www.automicvault.com/zh-hans/pkg/brew/iocextract/) - Shares av.db curated category or tags: cli, security, threat-intelligence.
- [aide](https://www.automicvault.com/zh-hans/pkg/brew/aide/) - Shares av.db curated category or tags: cli, security.
- [aircrack-ng](https://www.automicvault.com/zh-hans/pkg/brew/aircrack-ng/) - Shares av.db curated category or tags: cli, security.
- [amass](https://www.automicvault.com/zh-hans/pkg/brew/amass/) - Shares av.db curated category or tags: cli, security.
- [anubis](https://www.automicvault.com/zh-hans/pkg/brew/anubis/) - Shares av.db curated category or tags: cli, security.

## Combined YAML source

View the package source record on GitHub. [combined/virustotal-cli.yml](https://github.com/automic-vault/db/blob/main/combined/virustotal-cli.yml)


## 来源

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