L
O
A
D
I
N
G

WezTerm终端配置指南


打造极致终端体验:WezTerm+Nushell+Starship 完全配置指南

告别千篇一律的黑底白字,用三款顶级工具组合,在 Windows 上构建一套媲美 macOS 的现代终端工作流。

为什么选择这套组合?

工具 特点
WezTerm GPU 加速渲染、跨平台、Lua 配置、原生支持 Nerd Font
Nushell 结构化数据输出、内置类型系统、SQL 风格管道查询
Starship Rust 编写、毫秒级渲染、上下文感知(Git / Node / Python…)

与传统方案的对比:

特性 本套组合 传统 CMD / PowerShell WSL2 + Bash
渲染性能 GPU 加速,丝滑 一般 取决于宿主终端
数据处理 原生结构化输出 纯文本,需 awk/sed 纯文本,需 awk/sed
配置方式 Lua + Nu 脚本 + TOML 有限脚本 Bash 脚本,繁琐
提示符定制 Starship TOML,极丰富 有限 Bash PS1,繁琐
Windows 原生 完全原生 完全原生 虚拟化层,有损耗

一、前置准备

1.1 升级 PowerShell 到 7.x(强烈建议)

Windows 10 预装的是 PowerShell 5.1,基于老旧的 .NET Framework,存在 TLS 协议支持不完整、脚本兼容性差等问题,在安装 Scoop 时容易出现网络错误。请务必在安装 Scoop 之前先完成升级。

方法一:winget 安装(推荐)

1
2
3
4
5
6
# 使用 Windows 自带的 winget 安装 PowerShell 7
winget install --id Microsoft.PowerShell --source winget

# 验证版本
pwsh --version
# 输出:PowerShell 7.4.x

方法二:官方脚本一键安装

1
iex "& { $(irm https://aka.ms/install-powershell.ps1) } -UseMSI"

说明: 安装后系统会同时保留 PowerShell 5.1(powershell.exe)和 PowerShell 7(pwsh.exe),两者互不干扰。后续所有操作请统一使用 pwsh 执行。

提示:winget 提示「无法识别命令」,请先在 Microsoft Store 中搜索并安装**「应用安装程序(App Installer)」**,Windows 10 1809 及以上版本均支持。


1.2 安装 Scoop 包管理器

Scoop 是 Windows 上最优雅的命令行包管理器,类似 macOS 的 Homebrew。

自定义安装目录(强烈推荐非系统盘)

默认情况下,Scoop 会安装到 C:\Users\<用户名>\scoop。如果系统盘空间有限,可以在安装前通过环境变量自定义路径:

  • SCOOP:当前用户的软件安装根目录(无需管理员权限)
  • SCOOP_GLOBAL:全局(所有用户)软件安装根目录(需要管理员权限)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
# ① 设置执行策略,允许脚本运行
Set-ExecutionPolicy RemoteSigned -Scope CurrentUser

# ② 指定 Scoop 安装到 D 盘(按实际盘符修改)
$env:SCOOP = "D:\Scoop"
[Environment]::SetEnvironmentVariable("SCOOP", $env:SCOOP, "User")

# ③(可选)全局安装目录也移出系统盘
$env:SCOOP_GLOBAL = "D:\ScoopGlobal"
[Environment]::SetEnvironmentVariable("SCOOP_GLOBAL", $env:SCOOP_GLOBAL, "Machine")

# ④ 正式安装 Scoop
irm get.scoop.sh | iex

# ⑤ 验证安装路径
scoop config
# 输出中应显示 root_path: D:\Scoop

查看版本

安装完成后,Scoop 的目录结构为:

  • D:\Scoop\apps\:已安装的软件
  • D:\Scoop\shims\:命令入口,已自动加入 PATH
  • D:\Scoop\cache\:安装包缓存
  • D:\Scoop\buckets\:软件源仓库

⚠️ 路径中不要包含中文、空格或特殊字符,推荐使用 D:\Scoop 这样简短的纯英文路径。


添加常用软件仓库(Buckets)

Scoop 的软件以「Bucket(桶)」为单位组织,默认只有 main 这一个核心 Bucket,软件数量有限。安装 WezTerm、Nushell、字体等工具前,需要先手动添加对应的 Bucket:

Bucket 名称 用途 代表软件
main 默认内置,无需添加 git, curl, 7zip, aria2…
extras 官方扩展,覆盖绝大多数 GUI 软件 WezTerm, VS Code, Obsidian…
versions 软件历史版本,用于版本锁定 python27, nodejs-lts…
nerd-fonts Nerd Font 系列字体 JetBrainsMono-NF…
java 各厂商 JDK 发行版 temurin-jdk, zulu-jdk…
1
2
3
4
5
6
7
8
9
10
11
12
13
# 添加日常开发必备的三个 Bucket
scoop bucket add extras
scoop bucket add versions
scoop bucket add nerd-fonts

# 如需 Java 开发环境
scoop bucket add java

# 查看已添加的所有 Bucket
scoop bucket list

# 搜索某个软件在哪个 Bucket 里
scoop search wezterm

image-20260512160859080


安装 Aria2 实现多线程下载加速(强烈推荐)

Scoop 默认使用单线程下载,遇到大文件时速度很慢。安装 Aria2 后,Scoop 会自动切换到多线程下载,通常可将速度提升 3~5 倍,对国内网络环境尤其友好。

1
2
3
4
5
6
7
8
9
10
11
12
# 安装 Aria2(安装后 Scoop 自动启用,无需额外配置)
scoop install aria2

# 进阶调优(可选)
scoop config aria2-max-connection-per-server 16 # 最大并发连接数
scoop config aria2-min-split-size 1M # 最小分片大小
scoop config aria2-split 16 # 分片数量

# 临时禁用(某些镜像对多线程不友好时使用)
scoop config aria2-enabled false
# 重新启用
scoop config aria2-enabled true

安装aria2

💡 Aria2 安装后,后续所有的 scoop installscoop update 都会自动使用多线程,无需任何额外操作。如果某次下载报错,优先尝试 scoop config aria2-enabled false 后再重试,以排除 Aria2 兼容性问题。


1.3 安装 Nerd Font

Nerd Font 是 Starship 图标正常显示的必要条件。推荐 JetBrainsMono Nerd Font,字形清晰、间距舒适。

1
2
3
4
5
# 以管理员权限安装字体(写入系统字体目录)
scoop install --global nerd-fonts/JetBrainsMono-NF

# 可选:安装 CascadiaCode Nerd Font
scoop install --global nerd-fonts/CascadiaCode-NF

安装Nerd字体

⚠️ 安装字体后,若终端图标显示为方块,请重新登录 Windows 或重启系统使字体生效。


二、安装 WezTerm

WezTerm 是一款由 Rust 编写的现代终端模拟器,基于 WebGPU 渲染,支持 Lua 脚本配置,内置分屏(Panes / Tabs / Workspaces)等高级功能。

2.1 通过 Scoop 安装(推荐)

1
2
3
4
scoop install extras/wezterm

# 验证安装
wezterm --version

这里使用aria2下载报错:

image-20260512163946824

关闭aria2后重新下载

image-20260512164217083

2.2 或从官网下载

访问 wezterm.org 下载 Windows .msi 安装包,建议选择 Stable 稳定版

2.3 配置文件路径

1
C:\Users\<你的用户名>\.config\wezterm\wezterm.lua

若该目录不存在,请手动创建。

在 PowerShell 中执行以下命令,一步完成目录创建和文件新建:

1
2
3
4
5
6
7
8
# 创建目录
New-Item -ItemType Directory -Force -Path "$env:USERPROFILE\.config\wezterm"

# 创建空配置文件
New-Item -ItemType File -Force -Path "$env:USERPROFILE\.config\wezterm\wezterm.lua"

# 用 VS Code 打开(也可以换成 notepad)
code "$env:USERPROFILE\.config\wezterm\wezterm.lua"

文件建好后,把教程第五节的完整 Lua 配置内容粘贴进去,保存即可。WezTerm 会实时监听配置文件变动,保存后自动热重载,无需重启。

image-20260512175028988


三、安装 Nushell

Nushell(nu)将 shell 与结构化数据完美融合,一切输出皆为可查询的表格,告别正则表达式地狱。

3.1 通过 Scoop 安装

1
2
3
4
scoop install nu

# 验证安装
nu --version

image-20260512200713081

3.2 初始化配置文件

1
2
3
4
5
6
7
8
# 进入 Nushell
nu

# 生成默认配置文件
config nu
# 配置文件位于:
# C:\Users\<用户名>\AppData\Roaming\nushell\config.nu
# C:\Users\<用户名>\AppData\Roaming\nushell\env.nu

image-20260512201802361

会报错因为还没有指定默认的编辑器,后面会配置。

3.3 确认 nu.exe 路径

1
2
Get-Command nu | Select-Object Source
# 输出:C:\Users\<用户名>\scoop\shims\nu.exe(或 D:\Scoop\shims\nu.exe)

四、安装 Starship

Starship 由 Rust 编写,毫秒级渲染,自动感知 Git、Node、Python、Docker 等上下文,高度可定制。

4.1 通过 Scoop 安装

1
2
3
4
scoop install starship

# 验证安装
starship --version

image-20260512202606591

4.2 在 Nushell 中启用 Starship

编辑 env.nu,在末尾添加:

1
2
mkdir ~/.cache/starship
starship init nu | save -f ~/.cache/starship/init.nu

编辑 config.nu,在末尾添加:

1
use ~/.cache/starship/init.nu

4.3 创建 Starship 配置文件

1
C:\Users\<用户名>\.config\starship.toml

.config 目录不存在,请先手动创建。


五、高级配置 WezTerm

将以下内容保存到 ~/.config/wezterm/wezterm.lua

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
-- ╔══════════════════════════════════════════════╗
-- ║ WezTerm 高级配置 ║
-- ╚══════════════════════════════════════════════╝

local wezterm = require("wezterm")
local act = wezterm.action
local mux = wezterm.mux
local config = wezterm.config_builder()

-- 1. 默认启动 Nushell
config.default_prog = { "nu" }

-- 2. 主题
config.color_scheme = "Tokyo Night"

config.colors = {
background = "#0d1117",
cursor_bg = "#79c0ff",
cursor_border = "#79c0ff",
cursor_fg = "#0d1117",
selection_bg = "#264f78",
selection_fg = "#ffffff",
tab_bar = {
background = "#0d1117",
active_tab = { bg_color = "#161b22", fg_color = "#79c0ff" },
inactive_tab = { bg_color = "#0d1117", fg_color = "#6e7681" },
inactive_tab_hover = { bg_color = "#161b22", fg_color = "#8b949e" },
new_tab = { bg_color = "#0d1117", fg_color = "#6e7681" },
new_tab_hover = { bg_color = "#161b22", fg_color = "#e6edf3" },
},
}

-- 3. 字体
config.font = wezterm.font_with_fallback({
{ family = "JetBrainsMono Nerd Font", weight = "Regular" },
{ family = "Segoe UI Emoji" },
{ family = "Noto Color Emoji" },
})
config.font_size = 13.5
config.line_height = 1.2
config.freetype_load_target = "Light"
config.freetype_render_target = "HorizontalLcd"

-- 4. 窗口外观
config.window_background_opacity = 0.96
config.win32_system_backdrop = "Acrylic" -- 亚克力效果(需开启系统透明)
config.window_decorations = "RESIZE" -- 去掉标题栏,保留边框
config.window_padding = { left = 14, right = 14, top = 10, bottom = 4 }
config.initial_cols = 200
config.initial_rows = 50

-- 5. Tab Bar
config.use_fancy_tab_bar = false
config.tab_bar_at_bottom = true -- Tab 显示在底部
config.hide_tab_bar_if_only_one_tab = true
config.tab_max_width = 32

-- 6. 光标
config.default_cursor_style = "BlinkingBar"
config.cursor_blink_rate = 600
config.cursor_blink_ease_in = "Linear"
config.cursor_blink_ease_out = "Linear"

-- 7. 渲染性能
config.front_end = "WebGpu"
config.webgpu_power_preference = "HighPerformance"
config.animation_fps = 60
config.max_fps = 120

-- 8. 快捷键
config.keys = {
-- 分屏
{ key = "|", mods = "CTRL|SHIFT", action = act.SplitHorizontal({ domain = "CurrentPaneDomain" }) },
{ key = "-", mods = "CTRL|SHIFT", action = act.SplitVertical({ domain = "CurrentPaneDomain" }) },
-- 切换 Pane(Alt + h/j/k/l)
{ key = "h", mods = "ALT", action = act.ActivatePaneDirection("Left") },
{ key = "l", mods = "ALT", action = act.ActivatePaneDirection("Right") },
{ key = "k", mods = "ALT", action = act.ActivatePaneDirection("Up") },
{ key = "j", mods = "ALT", action = act.ActivatePaneDirection("Down") },
-- Tab 管理
{ key = "t", mods = "CTRL|SHIFT", action = act.SpawnTab("CurrentPaneDomain") },
{ key = "w", mods = "CTRL|SHIFT", action = act.CloseCurrentTab({ confirm = false }) },
-- 字体大小
{ key = "=", mods = "CTRL", action = act.IncreaseFontSize },
{ key = "-", mods = "CTRL", action = act.DecreaseFontSize },
{ key = "0", mods = "CTRL", action = act.ResetFontSize },
-- 复制 / 粘贴
{ key = "c", mods = "CTRL|SHIFT", action = act.CopyTo("Clipboard") },
{ key = "v", mods = "CTRL|SHIFT", action = act.PasteFrom("Clipboard") },
-- 搜索
{ key = "f", mods = "CTRL|SHIFT", action = act.Search({ CaseInSensitiveString = "" }) },
}

-- 9. 右键粘贴
config.mouse_bindings = {
{
event = { Up = { streak = 1, button = "Right" } },
mods = "NONE",
action = act.PasteFrom("Clipboard"),
},
}

-- 10. 启动时最大化
wezterm.on("gui-startup", function(cmd)
local tab, pane, window = mux.spawn_window(cmd or {})
window:gui_window():maximize()
end)

return config

⚠️ win32_system_backdrop = "Acrylic" 需要在 设置 → 个性化 → 颜色 中开启「透明效果」。若 WebGpu 不兼容,可改为 "OpenGL"


六、高级配置 Nushell

6.1 env.nu — 环境变量配置

路径:C:\Users\<用户名>\AppData\Roaming\nushell\env.nu

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
# ── Starship 初始化
mkdir ~/.cache/starship
starship init nu | save -f ~/.cache/starship/init.nu

# ── 环境变量
$env.EDITOR = "code"
$env.VISUAL = "code"
$env.LANG = "zh_CN.UTF-8"

# ── PATH 扩展
$env.PATH = ($env.PATH | prepend [
($env.HOME | path join ".cargo/bin"), # Rust 工具链
($env.HOME | path join ".local/bin"),
"D:/Scoop/shims", # 改成你的 Scoop shims 路径
])

# ── Zoxide 初始化(智能 cd)
zoxide init nushell | save -f ~/.zoxide.nu

6.2 config.nu — 主配置文件

路径:C:\Users\<用户名>\AppData\Roaming\nushell\config.nu

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
# ── 加载 Starship
use ~/.cache/starship/init.nu

# ── 加载 Zoxide
source ~/.zoxide.nu

# ── 核心配置
$env.config = {
show_banner: false # 禁用启动 Banner
edit_mode: "vi" # Vi 键位(改为 "emacs" 恢复传统模式)

history: {
max_size: 100000
file_format: "sqlite" # SQLite 历史,支持会话间共享
isolation: false
}

ls: {
use_ls_colors: true
clickable_links: true
}

completions: {
case_sensitive: false
quick: true
partial: true
algorithm: "fuzzy" # 模糊匹配补全
}

cursor_shape: {
vi_normal: "block"
vi_insert: "line"
}

table: {
mode: "rounded" # 圆角表格
index_mode: "always"
trim: {
methodology: "wrapping"
wrapping_try_keep_words: true
}
}

filesize: { unit: "auto", metric: true }
}

# ── 常用别名
alias ll = ls -la
alias la = ls -a
alias .. = cd ..
alias ... = cd ../..
alias g = git
alias gs = git status
alias ga = git add .
alias gc = git commit -m
alias gp = git push
alias gl = git log --oneline --graph --all
alias c = clear
alias cat = bat # 需安装 bat
alias find = fd # 需安装 fd
alias grep = rg # 需安装 ripgrep

# ── 自定义命令

# 查看端口占用
def port [p: int] {
netstat -ano | lines | where { |x| $x | str contains ($":($p)") }
}

# 批量重命名文件
def rename-all [from: string, to: string] {
ls | where name =~ $from | each { |f|
mv $f.name ($f.name | str replace $from $to)
}
}

# 快速创建并进入目录
def mkcd [dir: string] {
mkdir $dir
cd $dir
}

# 显示系统信息
def sysinfo [] {
{
os: (sys host | get name),
cpu: (sys cpu | first | get brand),
memory: (sys mem | get total | into string),
uptime: (sys host | get uptime),
} | table
}

💡 推荐同时安装以下增强工具:

1
scoop install zoxide bat fd ripgrep

七、高级配置 Starship

路径:C:\Users\<用户名>\.config\starship.toml

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
# 双行提示符布局
format = """
[╭─](bold blue)\
$os\
$username\
$directory\
$git_branch\
$git_status\
$git_metrics\
$nodejs\
$python\
$rust\
$golang\
$docker_context\
$cmd_duration\
$line_break\
[╰─](bold blue)\
$character\
"""

right_format = "$time"
add_newline = true
palette = "github_dark"

# 自定义调色板
[palettes.github_dark]
blue = "#79c0ff"
green = "#56d364"
red = "#f78166"
yellow = "#e3b341"
purple = "#d2a8ff"
orange = "#ffa657"
dimmed = "#6e7681"
text = "#e6edf3"

# OS 图标
[os]
format = "[$symbol](bold dimmed) "
disabled = false

[os.symbols]
Windows = " "
Linux = " "
Macos = " "

# 目录
[directory]
format = "[ $path]($style)[$read_only]($read_only_style) "
style = "bold blue"
read_only = " "
truncation_length = 4
truncation_symbol = "…/"
home_symbol = "~"

# Git 分支
[git_branch]
format = "[ $symbol$branch(:$remote_branch)]($style) "
symbol = " "
style = "bold green"
truncation_length = 20

# Git 状态
[git_status]
format = "([$all_status$ahead_behind]($style) )"
style = "bold yellow"
conflicted = "⚡$count"
ahead = "⇡$count"
behind = "⇣$count"
diverged = "⇕⇡$ahead_count⇣$behind_count"
untracked = "?$count"
stashed = "✦$count"
modified = "!$count"
staged = "+$count"
deleted = "✘$count"

# Git 增删行统计
[git_metrics]
added_style = "bold green"
deleted_style = "bold red"
format = "([+$added]($added_style) )([-$deleted]($deleted_style) )"
disabled = false

# 命令耗时(超过 2 秒才显示)
[cmd_duration]
min_time = 2000
format = "[ $duration]($style) "
style = "bold yellow"

# 右侧时间
[time]
disabled = false
format = "[ $time]($style)"
style = "bold dimmed"
time_format = "%H:%M:%S"

# 提示符字符
[character]
success_symbol = "[❯](bold purple)"
error_symbol = "[❯](bold red)"
vimcmd_symbol = "[❮](bold green)"

# Node.js
[nodejs]
format = "[ $version]($style) "
style = "bold green"
detect_files = ["package.json", ".node-version", ".nvmrc"]

# Python
[python]
format = "[ $version($virtualenv)]($style) "
style = "bold yellow"
pyenv_version_name = true

# Rust
[rust]
format = "[ $version]($style) "
style = "bold orange"

# Docker
[docker_context]
format = "[ $context]($style) "
style = "bold blue"
only_with_files = true

# 用户名(SSH 时才显示)
[username]
show_always = false
format = "[$user]($style)@"
style_user = "bold green"
style_root = "bold red"

修改 Starship 配置后,在 Nushell 中执行 exec nu 即可立即生效,无需重启。


八、效果验证

重新打开 WezTerm,在 Nushell 中执行以下测试:

1
2
3
4
5
6
7
8
9
10
11
12
13
14
# 1. 验证结构化数据处理
ls | sort-by size -r | first 5

# 2. 查看 Starship 提示符各模块
starship explain

# 3. 验证 Nerd Font 图标(应看到图标而非方块)
echo " 测试 Nerd Font 图标"

# 4. 查看系统信息
sysinfo

# 5. 测试模糊补全(按 Tab)
git che<Tab>

九、常见问题

提示符图标显示为方块或问号

确保 WezTerm 配置中使用了 Nerd Font,并以管理员权限重新安装字体:

1
scoop install --global nerd-fonts/JetBrainsMono-NF

重装后重新登录 Windows 即可。

Scoop 安装时提示 TLS 握手失败

这是 PowerShell 5.1 的经典问题。根本解决方案是升级到 PowerShell 7。若暂时无法升级,可临时修复:

1
2
3
# 临时启用 TLS 1.2(仅当前会话有效)
[Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12
irm get.scoop.sh | iex

Nushell 中 Starship 不生效

检查 env.nuconfig.nu 末尾是否有对应配置,然后重新生成:

1
2
starship init nu | save -f ~/.cache/starship/init.nu
exec nu

WezTerm 透明效果不生效

前往 设置 → 个性化 → 颜色 开启「透明效果」。若使用核显且 WebGpu 不兼容,将 front_end 改为 "OpenGL"

某些 Bash/CMD 命令在 Nushell 中无法运行

Nushell 不是 POSIX 兼容的 shell,可临时调用其他 shell:

1
2
3
4
5
# 临时进入 PowerShell 执行特定命令
powershell -Command "your-command"

# 运行批处理脚本
cmd /c "your-batch-file.bat"

快捷键速查

快捷键 功能
`Ctrl+Shift+ `
Ctrl+Shift+- 水平分屏
Alt+h/j/k/l 切换 Pane
Ctrl+Shift+T 新建 Tab
Ctrl+Shift+W 关闭 Tab
Ctrl+= 增大字体
Ctrl+- 减小字体
Ctrl+Shift+F 搜索
Ctrl+Shift+C 复制
Ctrl+Shift+V 粘贴

推荐配套工具

  • zoxide:比 cd 聪明 10 倍的目录跳转工具。学习你的常用路径,输入目录名的任意片段即可瞬间跳转,无需完整路径。
  • bat:cat 的现代替代品。自动语法高亮、行号显示、Git 变更标记,支持分页,阅读代码文件从此赏心悦目。
  • fd:find 的现代替代品。比系统 find 快 5~10 倍,语法简洁,默认忽略 .git.gitignore 中的文件。
  • ripgrep:grep 的现代替代品(rg)。基于 Rust 正则引擎,速度是 grep 的数十倍,自动忽略二进制和 gitignore 文件。
  • fzf:命令行模糊查找器。可与 Nushell 历史记录、文件选择、进程列表深度集成,任何列表都能秒变交互式搜索界面。
  • scoop-search:替代 scoop search 的加速版本。官方 scoop search 会逐个扫描 bucket 极慢,此工具使用本地索引,搜索速度提升百倍。
  • uv:Rust 编写的极速 Python 包管理器,完整替代 pipvenvpyenv。安装包速度比 pip 快 10~100 倍,自动管理 Python 版本。
  • Neovim:现代化 Vim,支持 LSP、Tree-sitter 语法树、Lua 配置,是终端内最强文本编辑器。配合 LazyVim 发行版可秒变轻量 IDE。

这些工具都可以通过 Scoop 一键安装,配合 Nushell 别名和 WezTerm 使用体验将大幅跃升。它们均由 Rust 或现代语言编写,性能远超传统同类工具。

1
2
scoop install zoxide bat fd ripgrep fzf scoop-search neovim
scoop install main/uv # Python 包管理器,在 main bucket

文章作者: loyeh
版权声明: 本博客所有文章除特別声明外,均采用 CC BY 4.0 许可协议。转载请注明来源 loyeh !
评论
  目录