semvec/pypi-packages huggingface dataset:
thefuck-leeguoo 3.44
AI-first command fixer for shell/terminal CLI with streamed explanations and Markdown rendering
License: MIT
Requires Python: !=3.0.*,!=3.1.*,!=3.2.*,!=3.3.*,!=3.4.*,>=2.7
Keywords: ai, autocorrect, bash, cli, command line, fish, productivity, shell, terminal, zsh

# thefuck-leeguoo

AI-first command fixer for your shell/terminal CLI (bash, zsh, fish) with streamed explanations and Markdown rendering.

<img width="898" height="323" alt="AI shell command fixer screenshot" src="https://github.com/user-attachments/assets/5b90cb3a-364c-4a72-ace2-4af872b6cbf2" />

## English

Install:

```bash
uv tool install thefuck-leeguoo
# or
pip install thefuck-leeguoo
```

Setup (recommended):

```bash
thefuck setup
# or
uvx thefuck --setup
```

Usage:

```bash
# after a failed command
fuck
```

AI config: run `thefuck setup` or set env vars like `THEFUCK_AI_URL`,
`THEFUCK_AI_TOKEN`, `THEFUCK_AI_MODEL`, `THEFUCK_AI_STREAM`, `THEFUCK_AI_MODE`.

Disclaimer: always review the suggested command before executing it.

## 中文

安装：

```bash
uv tool install thefuck-leeguoo
# 或
pip install thefuck-leeguoo
```

初始化（推荐）：

```bash
thefuck setup
# 或
uvx thefuck --setup
```

使用：

```bash
# 命令失败后
fuck
```

AI 配置：运行 `thefuck setup`，或设置环境变量如 `THEFUCK_AI_URL`、
`THEFUCK_AI_TOKEN`、`THEFUCK_AI_MODEL`、`THEFUCK_AI_STREAM`、`THEFUCK_AI_MODE`。

免责声明：请在执行前确认修复命令的安全性与正确性。

## 日本語

インストール：

```bash
uv tool install thefuck-leeguoo
# または
pip install thefuck-leeguoo
```

セットアップ（推奨）：

```bash
thefuck setup
# または
uvx thefuck --setup
```

使い方：

```bash
# 失敗したコマンドの後に
fuck
```

AI 設定：`thefuck setup` を使うか、`THEFUCK_AI_URL`、`THEFUCK_AI_TOKEN`、
`THEFUCK_AI_MODEL`、`THEFUCK_AI_STREAM`、`THEFUCK_AI_MODE` などの環境変数を設定します。

免責事項：実行前に提案コマンドを必ず確認してください。