WSL CLI 工具文档

这套文档记录当前 WSL2 / Ubuntu 22.04.5 环境中的常用终端工具。 版本和安装状态核验日期为 2026-07-26。

文档同时回答两个问题:

  • 这台机器现在安装了什么、从哪里加载、如何更新。
  • 每个工具日常应该怎样使用,以及它是否参与 zsh 启动。

“当前安装方式”描述本机事实;“更新方式”优先采用与当前安装来源一致的方法。 对不属于 dpkg、npm、uv 或 Git 管理的二进制,会明确标记为独立二进制。 “常用基础命令”采用精简格式,只记录功能、推荐用法和官方资料。

环境概要

项目当前状态
系统WSL2,Ubuntu 22.04.5 LTS,x86_64
默认 Shellzsh 5.8.1
PromptStarship 1.24.2
用户二进制目录~/.local/bin
zsh 补全目录~/.zfunc
Node 版本管理fnm 1.39.0
Python 工具管理uv / uvx 0.11.6

Shell 与终端

搜索、文件与导航

网络、诊断与远程访问

常用基础命令

开发辅助工具

工具索引

Showing 53 of 53 entries
工具主页zsh 启动
分类 common-command14
awkhttps://www.gnu.org/software/gawk/manual/gawk.html
cuthttps://www.gnu.org/software/coreutils/manual/html_node/cut-invocation.html
diffhttps://www.gnu.org/software/diffutils/manual/
grephttps://www.gnu.org/software/grep/manual/grep.html
headhttps://www.gnu.org/software/coreutils/manual/html_node/head-invocation.html
sedhttps://www.gnu.org/software/sed/manual/sed.html
sha256sumhttps://www.gnu.org/software/coreutils/manual/html_node/sha2-utilities.html
sorthttps://www.gnu.org/software/coreutils/manual/html_node/sort-invocation.html
tailhttps://www.gnu.org/software/coreutils/manual/html_node/tail-invocation.html
tarhttps://www.gnu.org/software/tar/manual/
teehttps://www.gnu.org/software/coreutils/manual/html_node/tee-invocation.html
trhttps://www.gnu.org/software/coreutils/manual/html_node/tr-invocation.html
uniqhttps://www.gnu.org/software/coreutils/manual/html_node/uniq-invocation.html
wchttps://www.gnu.org/software/coreutils/manual/html_node/wc-invocation.html
分类 developer-tool6
codegraphhttps://colbymchenry.github.io/codegraph/getting-started/quickstart/
fnmhttps://github.com/Schniz/fnm
git-filter-repohttps://github.com/newren/git-filter-repo
lazygithttps://github.com/jesseduffield/lazygit
uvhttps://docs.astral.sh/uv/
yayhttps://github.com/Jguer/yay—
分类 network11
curlhttps://curl.se/docs/
dighttps://bind9.readthedocs.io/en/latest/manpages.html#dig-dns-lookup-utility
iphttps://man7.org/linux/man-pages/man8/ip.8.html
nchttps://man.openbsd.org/nc
pinghttps://man7.org/linux/man-pages/man8/ping.8.html
rsynchttps://rsync.samba.org/documentation.html
sshttps://man7.org/linux/man-pages/man8/ss.8.html
sshhttps://man.openbsd.org/ssh
tcpdumphttps://www.tcpdump.org/manpages/tcpdump.1.html
tracepathhttps://man7.org/linux/man-pages/man8/tracepath.8.html
wgethttps://www.gnu.org/software/wget/manual/
分类 search-navigation12
7ziphttps://www.7-zip.org/
bathttps://github.com/sharkdp/bat
ezahttps://eza.rocks/
fdhttps://github.com/sharkdp/fd
findhttps://www.gnu.org/software/findutils/
fzfhttps://github.com/junegunn/fzf
glowhttps://github.com/charmbracelet/glow
jqhttps://jqlang.org/manual/
ripgrephttps://github.com/BurntSushi/ripgrep
xargshttps://www.gnu.org/software/findutils/
yazihttps://yazi-rs.github.io/docs/quick-start/
zoxidehttps://github.com/ajeetdsouza/zoxide
分类 shell-terminal10
btophttps://github.com/aristocratos/btop
neovimhttps://neovim.io/doc/
oh-my-zshhttps://github.com/ohmyzsh/ohmyzsh
starshiphttps://starship.rs/
tmuxhttps://github.com/tmux/tmux
zellijhttps://zellij.dev/documentation/
zsh-autosuggestionshttps://github.com/zsh-users/zsh-autosuggestions
zsh-completionshttps://github.com/zsh-users/zsh-completions
zsh-syntax-highlightinghttps://github.com/zsh-users/zsh-syntax-highlighting
zshhttps://zsh.sourceforge.io/Doc/Release/

仅查看网络工具:

进一步了解这些工具怎样协同工作,请阅读 工具栈概要。