Automic VaultAutomic Vault

brew

使用 Homebrew, Nix, pacman, winget 安装 baidupcs-go

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

安装

其他安装命令

macOS

Homebrew已验证 · 100%
brew install baidupcs-go

local Homebrew formula metadata

Linux

Nix已验证 · 92%
nix profile install nixpkgs#baidupcs-go

nixpkgs package indexes · pkgs/by-name/ba/baidupcs-go/package.nix · 来源: api.github.com

Arch Linux pacman已验证 · 92%
sudo pacman -S baidupcs-go

Arch Linux sync databases · baidupcs-go · 来源: geo.mirror.pkgbuild.com

Windows

Windows Package Manager已验证 · 92%
winget install --id qjfoidnh.BaiduPCS-Go -e

Windows Package Manager source index · qjfoidnh.BaiduPCS-Go · 来源: cdn.winget.microsoft.com

概览

软件包摘要

Terminal utility for Baidu Network Disk

命令和别名

  • baidupcs-go

历史

项目历史与用法

BaiduPCS-Go is a Go command-line client for Baidu Network Disk that presents cloud-storage operations through shell-like commands. The maintained qjfoidnh repository describes itself as continuing from iikira/BaiduPCS-Go v3.6.2 and adding transfer/save support for shared links.

项目历史

The README says BaiduPCS-Go was inspired by GangZhuo/BaiduPCS, then based on iikira/BaiduPCS-Go, and that this maintained version continues from iikira's original v3.6.2. The qjfoidnh GitHub repository was created on November 6, 2020.

The project has had to track changing Baidu service behavior. Its README changelog includes repeated fixes for upload, download, rapid-transfer, and shared-link transfer behavior, including v4.0.0 in 2025 and v4.0.1 in 2026.

采用历史

BaiduPCS-Go has a sizable niche audience for users who prefer scripting Baidu Network Disk operations from terminals and servers. GitHub reported 5,219 stars for qjfoidnh/BaiduPCS-Go, and the Homebrew formula API reported stable version 4.0.1 with 91 installs in the previous 30 days as of June 30, 2026.

Package-manager coverage in the input includes Homebrew, Nix, Arch pacman, and winget, indicating cross-platform packaging beyond the upstream binary releases.

使用方式

The README organizes usage around login, account switching, listing remote directories, downloading, uploading, generating direct links, copying, moving, sharing, offline downloads, recycle-bin management, glob-style matching, and configuration commands. It is intended to feel like Linux shell file handling for Baidu Network Disk.

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

BaiduPCS-Go is a classic cloud-storage CLI package: it wraps a consumer service with a scriptable command surface, stores session/config state locally, and keeps chasing upstream API changes. That makes it useful to package nerds who automate backups, remote file movement, and headless server workflows around a service that otherwise favors GUI clients.

时间线

  • 2020-11-06: qjfoidnh/BaiduPCS-Go repository created.
  • 2021-2025: README changelog documents frequent fixes for Baidu upload/download and transfer behavior.
  • 2025-10-29: v4.0.0 released with upload policy changes and interface-change notes.
  • 2026-03-26: v4.0.1 released as an emergency fix for command parameter errors.

Related projects

  • GangZhuo/BaiduPCS is cited by the README as an inspiration.
  • iikira/BaiduPCS-Go is cited by the README as the direct base for this maintained line.

安全态势

风险级别:blue

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

风险分类器

blue 风险 · 中 置信度 · tool

原因

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

信号

  • text:network

安装行为

  • formula 元数据中未记录 Homebrew post-install 钩子。
  • Homebrew bottle 元数据适用于 6 个平台目标。
  • 构建元数据列出 1 个构建依赖。

建议审查

在无人值守的代理使用前,请检查该工具是否读取明文凭据、写入远程状态、发布制品或调用插件。

local files

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

Config paths the tool may read or write during local use.

Unix
~/.config/BaiduPCS-Go/pcs_config.json
Windows
%APPDATA%\BaiduPCS-Go\pcs_config.json

Credential files

Credential-bearing paths to review before unattended agent runs.

Unix
~/.config/BaiduPCS-Go/pcs_config.json
Windows
%APPDATA%\BaiduPCS-Go\pcs_config.json

可执行文件

已安装的可执行文件

命令类型暴露范围备注
baidupcs-gocli全局可执行文件

新鲜度

版本和新鲜度

这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。

页面生成时间2026-07-25
管理器版本4.0.1
管理器更新时间
本地数据OK
上游当前
检测到的最新版本v4.0.1

https://github.com/qjfoidnh/BaiduPCS-Go

  • 信息No package-manager update timestamp was available.低 置信度

安装元数据

软件包元数据

软件包键brew:baidupcs-go
版本4.0.1
软件包管理器Homebrew
软件包管理器页面https://formulae.brew.sh/formula/baidupcs-go
主页https://github.com/qjfoidnh/BaiduPCS-Go
仓库https://github.com/qjfoidnh/BaiduPCS-Go
上游文档https://github.com/qjfoidnh/BaiduPCS-Go#readme
许可证Apache-2.0
源码归档https://github.com/qjfoidnh/BaiduPCS-Go/archive/refs/tags/v4.0.1.tar.gz
构建依赖go
Bottle可用 (于 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux)
Homebrew post-install未定义
服务未声明

注册表事实

源数据库详情

Source DatabaseHomebrew formula API
Taphomebrew/core
Full Namebaidupcs-go
Version Scheme0
Revision0
Head VersionHEAD
Bottle Stable Root URLhttps://ghcr.io/v2/homebrew/core
Deprecatedno
Disabledno
Keg Onlyno
URL Keys
  • head
  • stable

源数据库匹配

其他软件包管理器记录

匹配项来自外部软件包管理器索引,并与本地 Automic Vault 软件包链接分开显示。

Nix95%

baidupcs-go

nix profile install nixpkgs#baidupcs-go
  • normalized package name match
  • 匹配方式:Baidupcs Go
nixpkgs package indexes · api.github.com · nixpkgs package indexes: pkgs/by-name/ba/baidupcs-go/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
pacman95%

baidupcs-go 4.0.1-1

Terminal utility for Baidu Network Disk

https://github.com/qjfoidnh/BaiduPCS-Go

sudo pacman -S baidupcs-go
  • License: Apache-2.0
  • Architecture: x86_64
  • 1 依赖
  • 1 提供
  • normalized package name match
  • 匹配方式:Baidupcs Go
Arch Linux sync databases · geo.mirror.pkgbuild.com · Arch Linux sync databases: baidupcs-go from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz
winget95%

qjfoidnh.BaiduPCS-Go

winget install --id qjfoidnh.BaiduPCS-Go -e
  • normalized package name match
  • 匹配方式:Baidupcs Go
Windows Package Manager source index · cdn.winget.microsoft.com · Windows Package Manager source index: qjfoidnh.BaiduPCS-Go from https://cdn.winget.microsoft.com/cache/source.msix

来源线索

由仓库数据生成

此页面由 av-webscripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。

使用的来源

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