← 返回命令列表

Linux command

weechat 命令

文本

复制后可按需替换文件名、目录或参数。

常用示例

Start WeeChat

weechat

Connect to IRC server

/connect [irc.libera.chat]

Join channel

/join [#channel]

Send private message

/msg [nickname] [message]

Start with specific config directory

weechat -d [~/.config/weechat]

Run command on startup

weechat -r "/connect libera"

Set nickname

/set irc.server.libera.nicks "[mynick]"

Quit WeeChat

/quit

说明

WeeChat (Wee Enhanced Environment for Chat) is an extensible terminal-based chat client. While primarily an IRC client, plugins extend it to Matrix, Slack, Discord, and other protocols. The interface uses multiple buffers for channels, private messages, and server consoles. Navigation uses Alt+arrow keys or buffer numbers. Windows can split horizontally or vertically. Configuration through /set covers everything: colors, keybindings, network settings, and plugin options. Changes apply immediately; /save persists them. Scripts extend functionality in Python, Perl, Ruby, Lua, and other languages. Popular scripts add features: notifications, auto-join, URL handling, and protocol bridges. The scripts repository provides community contributions. Relay plugin enables remote access from other clients or mobile apps. This provides a persistent connection that mobile devices can disconnect/reconnect to. Security features include SASL authentication, SSL/TLS, and proxy support. Password handling integrates with system keyrings.

参数

-a, --no-connect
Disable auto-connect to servers.
-c, --colors
Display colors in terminal.
-d, --dir _DIR_
Set configuration directory.
-p, --no-plugin
Don't load plugins.
-P, --plugins _LIST_
Load only specified plugins.
-r, --run-command _CMD_
Run commands after startup.
-s, --no-script
Don't load scripts.
-t, --temp-dir
Use temporary directory.
-u, --upgrade
Upgrade from previous session.
-v, --version
Show version.
-h, --help
Show help.

FAQ

What is the weechat command used for?

WeeChat (Wee Enhanced Environment for Chat) is an extensible terminal-based chat client. While primarily an IRC client, plugins extend it to Matrix, Slack, Discord, and other protocols. The interface uses multiple buffers for channels, private messages, and server consoles. Navigation uses Alt+arrow keys or buffer numbers. Windows can split horizontally or vertically. Configuration through /set covers everything: colors, keybindings, network settings, and plugin options. Changes apply immediately; /save persists them. Scripts extend functionality in Python, Perl, Ruby, Lua, and other languages. Popular scripts add features: notifications, auto-join, URL handling, and protocol bridges. The scripts repository provides community contributions. Relay plugin enables remote access from other clients or mobile apps. This provides a persistent connection that mobile devices can disconnect/reconnect to. Security features include SASL authentication, SSL/TLS, and proxy support. Password handling integrates with system keyrings.

How do I run a basic weechat example?

Run `weechat` in a terminal, then adjust file names, paths, flags, or remote targets for your system.

What does -a, --no-connect do in weechat?

Disable auto-connect to servers.