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

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

## 安装

```sh
sudo av install brew:weechat
```

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install weechat
```

  证据: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install weechat
```

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

### Linux

- apk (92%):

```sh
sudo apk add weechat
```

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

- Debian apt (92%):

```sh
sudo apt install weechat
```

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

- dnf (92%):

```sh
sudo dnf install weechat
```

  证据: Fedora Rawhide package metadata: weechat 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#weechat
```

  证据: nixpkgs package indexes: weechat from https://raw.githubusercontent.com/NixOS/nixpkgs/master/pkgs/top-level/all-packages.nix

- pacman (92%):

```sh
sudo pacman -S weechat
```

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

- zypper (92%):

```sh
sudo zypper install weechat
```

  证据: openSUSE Tumbleweed package metadata: weechat from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst

## 软件包事实

- **软件包键:** brew:weechat
- **软件包管理器:** Homebrew
- **版本:** 4.10.0
- **来源摘要:** Extensible IRC client
- **主页:** <https://weechat.org/>
- **仓库:** <https://github.com/weechat/weechat>
- **最后更新:** 2026-08-02T09:43:20Z
- **已生成:** 2026-08-03T19:37:03+00:00

## 可执行文件

- weechat (别名)
- weechat-curses (别名)
- weechat-headless (别名)

## 安装行为

- Bottle: 不可用

## 版本和新鲜度

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

WeeChat is a long-running terminal chat client whose name expands to "Wee Enhanced Environment for Chat." It began in 2003 as Sebastien Helleu's answer to a missing combination of free software, Linux support, text UI, real nicklist, and multi-language extensibility.

### 项目历史

The official history page dates the first line of code to June 2003 and the first public version, 0.0.1, to September 2003. Early releases added Perl, Python, Ruby, Lua, Aspell, DCC, proxy support, IPv6, SSL, and full UTF-8 support, establishing WeeChat as an extensible IRC client rather than a minimal terminal frontend.

A major rewrite landed in version 0.3.0 in September 2009 with the new weechat.org site, a new plugin API, and Tcl plugin support. Later milestones added SASL authentication, 256-color display, IRC proxy support, mouse support, relay protocol features, the script manager, secured data, trigger and exec plugins, and eventually headless mode.

### 采用历史

WeeChat became one of the standard terminal IRC clients for users who wanted the scriptability and persistence of Irssi-style workflows with a broad plugin system and modern UI affordances. Its official site emphasizes multi-server IRC, proxy support, IPv6, SASL, nicklist, DCC, smart filtering, split windows, customizable bars, and eight scripting languages.

The 2012 relay protocol and later remote-interface work helped WeeChat fit persistent-server setups where the client runs on a shell host and users connect from browsers, phones, GUI clients, Emacs, or another WeeChat instance. The 2021 move to XDG directories by default marked a packaging-friendly modernization of long-standing Unix config behavior.

### 使用方式

Typical WeeChat usage is interactive and persistent: users connect to IRC networks, join channels, keep logs and buffers open, load scripts, configure bars and filters, and often run the client inside tmux or on a remote host. The secure-data and relay configuration files are central to real deployments because they hold server passwords, SASL credentials, and relay secrets.

For package-manager users, WeeChat is the installable terminal chat environment that can start simple and then grow through scripts, plugins, relay clients, and extensive configuration. It sits in the same cultural space as Irssi and ircII, but with an intentionally broad plugin API and remote-interface story.

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

WeeChat matters because it is one of the rare terminal chat clients with more than two decades of continuous development and an official historical record of feature evolution. It is a package that system administrators, IRC regulars, and terminal-focused developers install once and then shape into a personal communications workstation.

### 时间线

- 2003-06: First line of code.
- 2003-09: Version 0.0.1, the first version, released.
- 2005-07: Proxy support, IPv6, and SSL added.
- 2009-09: Version 0.3.0 shipped major rewrite, new plugin API, Tcl plugin, and new weechat.org site.
- 2012-02: WeeChat relay protocol and remote-interface support added.
- 2014-08: Version 1.0 added Trigger and Exec plugins, bare display, hidden buffers, and unit tests.
- 2018-03: Headless mode added.
- 2021-06: XDG directories became the default.

### Related projects

- WeeChat is commonly compared with other terminal IRC clients such as Irssi and ircII, and with bouncers or relay setups that keep chat sessions alive on remote hosts. Its relay ecosystem also connects it to mobile, browser, GUI, and editor-based front ends.

### 来源

- <https://api.github.com/repos/weechat/weechat>
- <https://api.github.com/repos/weechat/weechat/releases?per_page=5>
- <https://weechat.org/>
- <https://weechat.org/about/history/>
- <https://weechat.org/files/doc/stable/weechat_user.en.html>


## 安全说明

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: $XDG_CONFIG_HOME/weechat, ~/.config/weechat, ~/.weechat

## Credential files

- Unix: $XDG_CONFIG_HOME/weechat/sec.conf, ~/.config/weechat/sec.conf, ~/.config/weechat/irc.conf, ~/.config/weechat/relay.conf, ~/.weechat/sec.conf
## 其他软件包管理器记录

- Debian apt - weechat - 4.6.3-1: normalized package name match | Debian stable package indexes: weechat from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | Fast, light and extensible chat client (metapackage) | https://weechat.org/
- Debian apt - weechat-core - 4.6.3-1: normalized package name match | Debian stable package indexes: weechat-core from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | Fast, light and extensible chat client - core files | https://weechat.org/
- Debian apt - weechat-curses - 4.6.3-1: normalized package name match | Debian stable package indexes: weechat-curses from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | Fast, light and extensible chat client - console client | https://weechat.org/
- Debian apt - weechat-dev - 4.6.3-1: normalized package name match | Debian stable package indexes: weechat-dev from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | Fast, light and extensible chat client - development headers | https://weechat.org/
- Debian apt - weechat-doc - 4.6.3-1: normalized package name match | Debian stable package indexes: weechat-doc from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | Fast, light and extensible chat client - documentation | https://weechat.org/
- Debian apt - weechat-guile - 4.6.3-1: normalized package name match | Debian stable package indexes: weechat-guile from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | Fast, light and extensible chat client - Guile plugin | https://weechat.org/
- Debian apt - weechat-headless - 4.6.3-1: normalized package name match | Debian stable package indexes: weechat-headless from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | Fast, light and extensible chat client - headless client | https://weechat.org/
- Debian apt - weechat-lua - 4.6.3-1: normalized package name match | Debian stable package indexes: weechat-lua from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | Fast, light and extensible chat client - Lua plugin | https://weechat.org/
- Debian apt - weechat-perl - 4.6.3-1: normalized package name match | Debian stable package indexes: weechat-perl from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | Fast, light and extensible chat client - Perl plugin | https://weechat.org/
- Debian apt - weechat-php - 4.6.3-1: normalized package name match | Debian stable package indexes: weechat-php from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | Fast, light and extensible chat client - PHP plugin | https://weechat.org/
- Debian apt - weechat-plugins - 4.6.3-1: normalized package name match | Debian stable package indexes: weechat-plugins from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | Fast, light and extensible chat client - plugins | https://weechat.org/
- Debian apt - weechat-python - 4.6.3-1: normalized package name match | Debian stable package indexes: weechat-python from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | Fast, light and extensible chat client - Python 3 plugin | https://weechat.org/
- Debian apt - weechat-ruby - 4.6.3-1: normalized package name match | Debian stable package indexes: weechat-ruby from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | Fast, light and extensible chat client - Ruby plugin | https://weechat.org/
- Debian apt - weechat-tcl - 4.6.3-1: normalized package name match | Debian stable package indexes: weechat-tcl from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | Fast, light and extensible chat client - Tcl plugin | https://weechat.org/
- Nix - weechat: normalized package name match | nixpkgs package indexes: weechat from https://raw.githubusercontent.com/NixOS/nixpkgs/master/pkgs/top-level/all-packages.nix
- Ubuntu apt - weechat - 4.1.1-1build7: normalized package name match | Ubuntu 24.04 LTS package indexes: weechat from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | Fast, light and extensible chat client (metapackage) | https://weechat.org/


## Combined YAML source

View the package source record on GitHub. [combined/weechat.yml](https://github.com/mxcl/pkgdb/blob/main/combined/weechat.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
