# duck を Homebrew, chocolatey, apt, MacPorts でインストール

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

## インストール

```sh
sudo av install brew:duck
```

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

### macOS

- Homebrew (100%):

```sh
brew install duck
```

  証拠: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install duck
```

  証拠: MacPorts ports tree: net/duck/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1

### Linux

- Debian apt (92%):

```sh
sudo apt install duck
```

  証拠: Debian stable package indexes: duck from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz

### Windows

- Chocolatey (92%):

```sh
choco install duck
```

  証拠: Chocolatey community package catalog: duck from http://community.chocolatey.org/api/v2/Packages?$filter=IsLatestVersion&$select=Id&$top=1000&$skiptoken='11','dotnetcore-desktopruntime'

## パッケージ情報

- **パッケージキー:** brew:duck
- **パッケージマネージャ:** Homebrew
- **バージョン:** 9.5.2.45323
- **ソース概要:** Command-line interface for Cyberduck (a multi-protocol file transfer tool)
- **ホームページ:** <https://duck.sh/>
- **リポジトリ:** <https://github.com/iterate-ch/cyberduck>
- **最終更新:** 2026-07-02T13:39:51Z
- **生成日時:** 2026-08-03T19:37:03+00:00

## 実行可能ファイル

- duck (エイリアス)

## インストール挙動

- Bottle: 利用不可

## バージョンと鮮度

- ページ生成日: 2026-08-03
- マネージャ版: 9.5.2.45323
## プロジェクトの歴史と使われ方

duck is the command-line interface for Cyberduck, the long-running file-transfer client. It gives Cyberduck's multi-protocol transfer stack a scriptable shell front end for FTP, SFTP, WebDAV, S3-compatible storage, OpenStack Swift, and other cloud-storage backends.

### プロジェクトの歴史

Cyberduck began as a macOS file-transfer application and its official changelog reaches back to early 2000s releases. The current source repository describes Cyberduck as a libre file transfer client for macOS and Windows, with a command-line interface for Linux, macOS, and Windows.

The duck CLI packages the Cyberduck transfer engine for terminal users. Its homepage presents it as Cyberduck for the command line and documents Homebrew, Chocolatey, RPM, and DEB installation paths.

### 採用の歴史

duck's adoption follows Cyberduck's protocol breadth rather than the popularity curve of a standalone Unix transfer tool. Users choose it when they want one command-line client that speaks the same storage profiles and cloud protocols as Cyberduck and Mountain Duck.

Packaging through Homebrew, Chocolatey, Debian/Ubuntu-style repositories, and RPM repositories made the CLI available to automation users who do not run the desktop application.

### 使われ方

The CLI is used for uploads, downloads, remote editing workflows, and copies between servers or cloud providers. It is especially relevant for scripted access to storage backends that otherwise require provider-specific CLIs.

Because the same upstream project also ships GUI Cyberduck and Mountain Duck components, duck sits at the command-line edge of a broader file-transfer product family.

### パッケージ好きにとっての重要性

duck is interesting because the package name is short and generic while the project identity is really Cyberduck CLI. Package databases should preserve that relationship so users do not confuse it with unrelated projects named duck.

It also demonstrates a common packaging pattern: a GUI application exposes a CLI package with a different formula name, while sharing source code and protocol implementations with the main application.

### タイムライン

- 2003: Cyberduck 2.1 appears in the official changelog.
- 2015: duck.sh copyright history starts, matching the CLI's public packaging era.
- 2020s: Cyberduck continues shipping desktop releases while duck remains the CLI package for Linux, macOS, and Windows.
- 2026: Cyberduck 9.5.0 appears in the official changelog.

### Related projects

- Cyberduck is the parent project and desktop client; Mountain Duck is a related mount-to-desktop product from the same ecosystem.
- duck overlaps in use with rclone, lftp, sftp, aws-cli, and provider-specific cloud storage CLIs, but its protocol coverage comes from the Cyberduck stack.

### ソース

- <https://github.com/iterate-ch/cyberduck>
- <https://duck.sh/>
- <https://docs.duck.sh/cli>
- <https://cyberduck.io/changelog/>


## セキュリティノート

narrow executable package without higher-risk signals.

- **Geiger リスク:** グリーン / 低
- narrow executable package without higher-risk signals

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

- Debian apt - duck - 0.14.4: normalized package name match | Debian stable package indexes: duck from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | checks URLs in debian/control and debian/upstream files | https://salsa.debian.org/debian/duck
- Ubuntu apt - duck - 0.14.2: normalized package name match | Ubuntu 24.04 LTS package indexes: duck from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | checks URLs in debian/control and debian/upstream files | https://salsa.debian.org/debian/duck
- MacPorts - duck: normalized package name match | MacPorts ports tree: net/duck/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1
- Chocolatey - duck: normalized package name match | Chocolatey community package catalog: duck from http://community.chocolatey.org/api/v2/Packages?$filter=IsLatestVersion&$select=Id&$top=1000&$skiptoken='11','dotnetcore-desktopruntime'


## Combined YAML source

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


## ソース

- pkg.so package database
- Geiger risk classifier
- curated package history
- pkgdb category and tag curation
- external package-manager database matches
- cross-ecosystem install command graph
