# baidupcs-go を Homebrew, Nix, pacman, winget でインストール

baidupcs-go のインストール経路、実行ファイル、メタデータ、AI エージェント向けセキュリティノートを確認します。

## インストール

```sh
sudo av install brew:baidupcs-go
```

追加のインストールコマンド:

### macOS

- Homebrew (100%):

```sh
brew install baidupcs-go
```

  証拠: local Homebrew formula metadata

### Linux

- Nix (92%):

```sh
nix profile install nixpkgs#baidupcs-go
```

  証拠: nixpkgs package indexes: pkgs/by-name/ba/baidupcs-go/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1

- pacman (92%):

```sh
sudo pacman -S baidupcs-go
```

  証拠: Arch Linux sync databases: baidupcs-go from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz

### Windows

- winget (92%):

```sh
winget install --id qjfoidnh.BaiduPCS-Go -e
```

  証拠: Windows Package Manager source index: qjfoidnh.BaiduPCS-Go from https://cdn.winget.microsoft.com/cache/source.msix

## パッケージ情報

- **パッケージキー:** brew:baidupcs-go
- **パッケージマネージャ:** Homebrew
- **パッケージマネージャページ:** <https://formulae.brew.sh/formula/baidupcs-go>
- **バージョン:** 4.0.1
- **ソース概要:** Terminal utility for Baidu Network Disk
- **ホームページ:** <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>
- **生成日時:** 2026-07-25T07:20:51+00:00

## 実行可能ファイル

- baidupcs-go (cli)
- baidupcs-go (エイリアス)

## ビルド依存関係

- go

## インストール挙動

- post-install フック: 未定義
- Bottle: 利用可能 対象 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux

## バージョンと鮮度

- ページ生成日: 2026-07-25
- マネージャ版: 4.0.1
- ローカルデータ: OK
- 上流リポジトリ: https://github.com/qjfoidnh/BaiduPCS-Go
- 検出された最新: v4.0.1 (最新)
- 情報: No package-manager update timestamp was available.
## プロジェクトの歴史と使われ方

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.

### ソース

- <https://api.github.com/repos/qjfoidnh/BaiduPCS-Go>
- <https://api.github.com/repos/qjfoidnh/BaiduPCS-Go/releases/latest>
- <https://formulae.brew.sh/api/formula/baidupcs-go.json>
- <https://raw.githubusercontent.com/qjfoidnh/BaiduPCS-Go/main/README.md>


## セキュリティノート

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

- **Geiger リスク:** blue / 中
- broad file, network, media, or database tool signal


## 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/BaiduPCS-Go/pcs_config.json
- Windows: %APPDATA%\BaiduPCS-Go\pcs_config.json

## Credential files

- Unix: ~/.config/BaiduPCS-Go/pcs_config.json
- Windows: %APPDATA%\BaiduPCS-Go\pcs_config.json
## ソースデータベース詳細

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

## 他のパッケージマネージャ記録

- Nix - baidupcs-go: normalized package name match | nixpkgs package indexes: pkgs/by-name/ba/baidupcs-go/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- pacman - baidupcs-go - 4.0.1-1: normalized package name match | Arch Linux sync databases: baidupcs-go from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz | Terminal utility for Baidu Network Disk | https://github.com/qjfoidnh/BaiduPCS-Go
- winget - qjfoidnh.BaiduPCS-Go: normalized package name match | Windows Package Manager source index: qjfoidnh.BaiduPCS-Go from https://cdn.winget.microsoft.com/cache/source.msix


## 関連リンク

- [Source-control packages](https://www.automicvault.com/ja/pkg/source-control-tools/) - Belongs to a source-control command family.
- [Secret-risk packages](https://www.automicvault.com/ja/pkg/secret-risk-packages/) - Has protected-tool coverage, approval-gate, or non-low Geiger security signals.
- [Terminal utility packages](https://www.automicvault.com/ja/pkg/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [Language runtime packages](https://www.automicvault.com/ja/pkg/language-runtime-packages/) - Matched language runtime, compiler, or interpreter metadata.
- [go](https://www.automicvault.com/ja/pkg/brew/go/) - Build dependency declared by Homebrew.
- [duck](https://www.automicvault.com/ja/pkg/brew/duck/) - Shares av.db curated category or tags: cli, cloud-storage, file-transfer, networking.
- [airshare](https://www.automicvault.com/ja/pkg/brew/airshare/) - Shares av.db curated category or tags: cli, file-transfer, networking.
- [bbftp-client](https://www.automicvault.com/ja/pkg/brew/bbftp-client/) - Shares av.db curated category or tags: cli, file-transfer, networking.
- [c-kermit](https://www.automicvault.com/ja/pkg/brew/c-kermit/) - Shares av.db curated category or tags: cli, file-transfer, networking.
- [cadaver](https://www.automicvault.com/ja/pkg/brew/cadaver/) - Shares av.db curated category or tags: cli, file-transfer, networking.
- [croc](https://www.automicvault.com/ja/pkg/brew/croc/) - Shares av.db curated category or tags: cli, file-transfer, networking.
- [davix](https://www.automicvault.com/ja/pkg/brew/davix/) - Shares av.db curated category or tags: cli, file-transfer, networking.
- [ffsend](https://www.automicvault.com/ja/pkg/brew/ffsend/) - Shares av.db curated category or tags: cli, file-transfer, networking.
- [piknik](https://www.automicvault.com/ja/pkg/brew/piknik/) - Local metadata places this package in an adjacent workflow. Shared terms: cli, file, file-transfer, network, networking.

## Combined YAML source

View the package source record on GitHub. [combined/baidupcs-go.yml](https://github.com/automic-vault/db/blob/main/combined/baidupcs-go.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
