Automic VaultAutomic Vault

brew

Install baidupcs-go with Homebrew, Nix, pacman, winget

Terminal utility for Baidu Network Disk. Version 4.0.1 via Homebrew; verified from local package data. Also installable with nix: nix profile install nixpkgs#baidupcs-go.

install

Additional install commands

macOS

Homebrewverified · 100%
brew install baidupcs-go

local Homebrew formula metadata

Linux

Nixverified · 92%
nix profile install nixpkgs#baidupcs-go

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

Arch Linux pacmanverified · 92%
sudo pacman -S baidupcs-go

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

Windows

Windows Package Managerverified · 92%
winget install --id qjfoidnh.BaiduPCS-Go -e

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

overview

Package summary

Terminal utility for Baidu Network Disk

Commands and aliases

  • baidupcs-go

history

Project history and usage

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.

Project history

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.

Adoption history

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.

How it is used

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.

Why package nerds care

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.

Timeline

  • 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.

security posture

Risk level: blue

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

Risk classifier

blue risk · medium confidence · tool

Why

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

Signals

  • text:network

Install behavior

  • No Homebrew post-install hook is recorded in formula metadata.
  • Homebrew bottle metadata is available for 6 platform targets.
  • Build metadata lists 1 build dependencies.

Recommended review

Before unattended agent use, check whether the tool reads plaintext credentials, writes remote state, publishes artifacts, or shells out to plugins.

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

executables

Installed executables

CommandKindExposureNote
baidupcs-gocliglobal executable

freshness

Version and freshness

These signals separate page generation age, package-manager activity, and upstream release comparison. Version lag is warned only when an evidence URL and comparable versions are present.

page generated2026-07-25
manager version4.0.1
manager updated
local dataok
upstreamcurrent
latest detectedv4.0.1

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

  • infoNo package-manager update timestamp was available.low confidence

install metadata

Package metadata

Package keybrew:baidupcs-go
Version4.0.1
Package managerHomebrew
Package manager pagehttps://formulae.brew.sh/formula/baidupcs-go
Homepagehttps://github.com/qjfoidnh/BaiduPCS-Go
Repositoryhttps://github.com/qjfoidnh/BaiduPCS-Go
Upstream docshttps://github.com/qjfoidnh/BaiduPCS-Go#readme
LicenseApache-2.0
Source archivehttps://github.com/qjfoidnh/BaiduPCS-Go/archive/refs/tags/v4.0.1.tar.gz
Build dependenciesgo
Bottleavailable (on arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux)
Homebrew post-installnot defined
Servicenone declared

registry facts

Source database details

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

source database matches

Other package-manager records

Matches are pulled from external package-manager indexes and kept separate from local Automic Vault package links.

Nix95%

baidupcs-go

nix profile install nixpkgs#baidupcs-go
  • normalized package name match
  • Matched by: 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 dependencies
  • 1 provides
  • normalized package name match
  • Matched by: 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
  • Matched by: 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

source trail

Generated from repository data

This page is generated by av-web from the private package SQLite artifact built by scripts/generate-pkg-sqlite.py.

Used sources

  • 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