# 使用 Homebrew, apk, apt, dnf, MacPorts, Nix, pacman 安装 toot

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

## 安装

```sh
sudo av install brew:toot
```

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install toot
```

  证据: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install toot
```

  证据: MacPorts ports tree: net/toot/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1

### Linux

- apk (92%):

```sh
sudo apk add toot
```

  证据: Alpine Linux edge package indexes: toot from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz

- Debian apt (92%):

```sh
sudo apt install toot
```

  证据: Debian stable package indexes: toot from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz

- dnf (92%):

```sh
sudo dnf install toot
```

  证据: Fedora Rawhide package metadata: toot from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-primary.xml.zst

- Nix (92%):

```sh
nix profile install nixpkgs#toot
```

  证据: nixpkgs package indexes: pkgs/by-name/to/toot/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1

- pacman (92%):

```sh
sudo pacman -S toot
```

  证据: Arch Linux sync databases: toot from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz

## 软件包事实

- **软件包键:** brew:toot
- **软件包管理器:** Homebrew
- **版本:** 0.52.1
- **来源摘要:** Mastodon CLI & TUI
- **主页:** <https://toot.bezdomni.net/>
- **仓库:** <https://github.com/ihabunek/toot>
- **最后更新:** 2026-07-10T11:42:37Z
- **已生成:** 2026-08-03T19:37:03+00:00

## 可执行文件

- toot (别名)

## 安装行为

- Bottle: 不可用

## 版本和新鲜度

- 页面生成时间: 2026-08-03
- 管理器版本: 0.52.1
## 项目历史与用法

toot is a Python command-line and terminal UI client for Mastodon and compatible Fediverse servers. It belongs to the long-running niche of social-network clients for people who prefer shell workflows, scriptable commands, and terminal timelines over a browser.

### 项目历史

PyPI release history starts with toot 0.1.0 on April 12, 2017, soon after Mastodon became a visible open-source social-networking project. The official documentation describes toot as both a CLI and TUI for interacting with Mastodon-compatible instances from the command line.

The project grew from posting and timeline commands into a broader Fediverse client. The 2023 changelog records the documentation move from Read the Docs to toot.bezdomni.net, later releases added settings, shell completion, JSON output, account and list features, richer TUI behavior, image display, poll support, timeline command groups, and follow-request commands.

### 采用历史

The official installation page says toot is packaged for various platforms and recommends using the operating system package manager when possible. It also documents Homebrew for macOS users, pipx for Python-oriented installs, and source installs from the GitHub release archive. The input package metadata additionally shows packaging in Homebrew, Debian, Ubuntu, Fedora, Alpine, Arch, MacPorts, and Nix.

### 使用方式

The basic workflow starts with `toot login`, which stores application and user access tokens in `~/.config/toot/config.json`. Users can then post statuses from arguments, pipes, files, or an editor, view timelines, manage accounts, and use the TUI with keyboard shortcuts for navigation, boosting, replying, editing, bookmarking, media viewing, and JSON inspection.

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

toot matters in the package-nerd niche because it makes a social network behave like a Unix program: installable from distro or language package managers, configurable under XDG-style paths, scriptable in shell pipelines, and usable in terminals on servers or minimal desktops.

### 时间线

- 2017: First PyPI release, 0.1.0.
- 2023: Documentation moved to toot.bezdomni.net.
- 2023: 0.38.0 added a settings file and more TUI timeline support.
- 2024: 0.40.0 moved command handling to Click and added shell completion and environment-variable support.
- 2025: 0.48.0 introduced the `toot timelines` command group.
- 2026: 0.52.1 published on PyPI.

### Related projects

- Mastodon, Fediverse-compatible servers, Pleroma, GoToSocial, snac2, pipx, Homebrew.

### 来源

- <https://pypi.org/project/toot/>
- <https://toot.bezdomni.net/>
- <https://toot.bezdomni.net/changelog.html>
- <https://toot.bezdomni.net/installation.html>
- <https://toot.bezdomni.net/tui.html>
- <https://toot.bezdomni.net/usage.html>
- source_facts.package-manager


## 安全说明

没有找到 toot 的匹配本地密钥处理 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

- Linux: ~/.config/toot/settings.toml
- Windows: %APPDATA%\toot\settings.toml

## Credential files

- Unix: ~/.config/toot/config.json
## 其他软件包管理器记录

- Debian apt - toot - 0.48.1-0: normalized package name match | Debian stable package indexes: toot from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | mastodon cli client | https://github.com/ihabunek/toot
- Nix - toot: normalized package name match | nixpkgs package indexes: pkgs/by-name/to/toot/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- Ubuntu apt - toot - 0.41.1-1: normalized package name match | Ubuntu 24.04 LTS package indexes: toot from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | mastodon cli client | https://github.com/ihabunek/toot
- apk - toot - 0.52.1-r0: normalized package name match | Alpine Linux edge package indexes: toot from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | mastodon cli & tui | https://github.com/ihabunek/toot
- apk - toot-pyc - 0.52.1-r0: normalized package name match | Alpine Linux edge package indexes: toot-pyc from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | Precompiled Python bytecode for toot | https://github.com/ihabunek/toot
- dnf - toot - 0.51.1-1.fc45: normalized package name match | Fedora Rawhide package metadata: toot from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-primary.xml.zst | A CLI and TUI tool for interacting with Mastodon | https://github.com/ihabunek/toot
- pacman - toot - 0.52.1-1: normalized package name match | Arch Linux sync databases: toot from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz | A Mastodon CLI client | https://github.com/ihabunek/toot
- MacPorts - toot: normalized package name match | MacPorts ports tree: net/toot/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1


## Combined YAML source

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


## 来源

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