# 使用 Homebrew Cask 安装 p4

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

## 安装

```sh
sudo av install cask:p4
```

其他安装命令:

### macOS

- Homebrew Cask (100%):

```sh
brew install --cask p4
```

  证据: local Homebrew cask metadata

## 软件包事实

- **软件包键:** cask:p4
- **软件包管理器:** Homebrew Cask
- **版本:** 2026.1,2972966
- **来源摘要:** Use it to gain instant access to operations and complete control over the system
- **主页:** <https://www.perforce.com/products/helix-core-apps/command-line-client>
- **最后更新:** 2026-06-11T20:13:36Z
- **已生成:** 2026-08-03T19:37:03+00:00

## 可执行文件

- p4 (二进制)
- p4 (别名)

## 安装行为

- Bottle: 不可用

## 版本和新鲜度

- 页面生成时间: 2026-08-03
- 管理器版本: 2026.1,2972966

## 安全说明

没有找到 p4 的匹配本地密钥处理 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: P4CONFIG-named file in the current working directory, a parent directory, for example .p4config.txt
- Windows: P4CONFIG-named file in the current working directory, a parent directory, for example .p4config.txt, Perforce settings stored by p4 set in the Windows registry

## Credential files

- Unix: ~/.p4tickets
- Windows: %USERPROFILE%\p4tickets.txt, P4PASSWD in the Windows registry when set with p4 set, P4V
## 其他软件包管理器记录

- Nix - p4: normalized package name match | nixpkgs package indexes: pkgs/by-name/p4/p4/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- Chocolatey - p4: normalized package name match | Chocolatey community package catalog: p4 from http://community.chocolatey.org/api/v2/Packages?$filter=IsLatestVersion&$select=Id&$top=1000&$skiptoken='11','openconnect-gui'
- Scoop - main/p4: normalized package name match | Scoop official bucket manifest trees: bucket/p4.json from https://api.github.com/repos/ScoopInstaller/Main/git/trees/master?recursive=1


## Combined YAML source

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


## 来源

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