← 返回命令列表

Linux command

wut 命令

文本

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

常用示例

Explain the output of the last command

wut

说明

wut is a terminal assistant that uses a large language model (LLM) to explain whatever was most recently printed to your terminal. It can decipher stack traces, error codes, unfamiliar log lines, and unexpected command output, returning a plain-language explanation and often a suggested next step. The tool reads the visible scrollback of the current pane via the host terminal multiplexer, so it must be invoked from inside a tmux or screen session. It sends the captured text to a configured LLM provider (e.g. OpenAI or Anthropic) using credentials stored as environment variables.

FAQ

What is the wut command used for?

wut is a terminal assistant that uses a large language model (LLM) to explain whatever was most recently printed to your terminal. It can decipher stack traces, error codes, unfamiliar log lines, and unexpected command output, returning a plain-language explanation and often a suggested next step. The tool reads the visible scrollback of the current pane via the host terminal multiplexer, so it must be invoked from inside a tmux or screen session. It sends the captured text to a configured LLM provider (e.g. OpenAI or Anthropic) using credentials stored as environment variables.

How do I run a basic wut example?

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