文章

安装终端生产力工具

安装终端生产力工具

让我没想到的是由于 AI 辅助工具的就行,竟然带动了终端工具的流程,并且出现了好几个主打 GPU 加速的新工具,自从 macOS 系统默认 zsh 后,我最近几年都是系统终端+几个zsh插件。

安装 cmux

早在两周前我安装了 cmux ,因为它就是个终端工具,不需要记录安装过程,它目前已经取代了系统终端,之前配置的 zsh 插件都能用,安装它的原因是因为我之前的终端背景色改成了绿色,在 AI 让我做选择的时候看不清选项,当时还不知道怎么回事,就找到了 cmux,用着还不错。

安装 Kaku

记录下安装 Kaku 的过程,因为它帮忙装了好几个工具,我需要一个一个熟悉并掌握,比如我还不知道 Yazi 有什么用。

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
 _  __      _
 | |/ /     | |
 | ' / __ _ | | __ _   _
 |  < / _` || |/ /| | | |
 | . \ (_| ||   < | |_| |
 |_|\_\__,_||_|\_\ \__,_|

Welcome to Kaku!
A fast, out-of-the-box terminal built for AI coding.
--------------------------------------------------------
Would you like to install Kaku's enhanced shell features?
This includes:
  - z - Smart Directory Jumper
  - zsh-completions - Rich Tab Completions
  - Zsh Syntax Highlighting
  - Zsh Autosuggestions
  - Kaku Theme
  - Optional CLI tools via Homebrew: Starship, Delta, Lazygit, Yazi
  - If Homebrew is missing, Kaku can offer to install it

Shell config model (zsh):
  - Kaku writes managed shell config to ~/.config/kaku/zsh/kaku.zsh
  - .zshrc gets one PATH line plus one source line for the managed Kaku shell config
  - You can roll back anytime with: kaku reset
--------------------------------------------------------

Set up Kaku now? Press Enter to continue, type n to skip:

  ✓ Config      Installed kaku terminfo (~/.terminfo)
Setting up Kaku Shell Environment
  ✓ Tools       Installed Zsh plugins (~/.config/kaku/zsh/plugins)
  ✓ Config      Initialized starship.toml (~/.config/starship.toml)
  ✓ Config      Initialized yazi.toml (~/.config/yazi/yazi.toml)
  ✓ Config      Initialized yazi keymap (~/.config/yazi/keymap.toml)
  ✓ Config      Refreshed Kaku yazi flavors (dark + light)
  ✓ Config      Initialized yazi theme (managed Kaku flavor: kaku-light)
  ✓ Config      Installed yazi wrapper (theme sync before launch)
  ✓ Script      Generated kaku.zsh init script
  • Integrate   Skipped tmux integration (tmux not found)
  ✓ Integrate   Successfully patched .zshrc

TouchID for sudo  Enable fingerprint authentication? (Y/n) y
Password:
  ✓ Sudo        Enabled via sudo_local
Keeping existing user config: /Users/matt/.config/kaku/kaku.lua


Installing optional CLI tools automatically...
Installing: starship git-delta lazygit yazi
==> Fetching downloads for: starship, git-delta, lazygit and yazi
✔︎ Bottle Manifest starship (1.24.2)                                            Downloaded    8.3KB/  8.3KB
✔︎ Bottle Manifest git-delta (0.19.2)                                           Downloaded   12.8KB/ 12.8KB
✔︎ Bottle Manifest lazygit (0.61.1)                                             Downloaded    7.4KB/  7.4KB
✔︎ Bottle Manifest yazi (26.1.22)                                               Downloaded    7.5KB/  7.5KB
✔︎ Bottle Manifest oniguruma (6.9.10)                                           Downloaded   10.0KB/ 10.0KB
✔︎ Bottle oniguruma (6.9.10)                                                    Downloaded  458.4KB/458.4KB
✔︎ Bottle yazi (26.1.22)                                                        Downloaded    8.9MB/  8.9MB
✔︎ Bottle starship (1.24.2)                                                     Downloaded    3.8MB/  3.8MB
✔︎ Bottle git-delta (0.19.2)                                                    Downloaded    2.9MB/  2.9MB
✔︎ Bottle lazygit (0.61.1)                                                      Downloaded    6.1MB/  6.1MB
==> Pouring starship--1.24.2.arm64_tahoe.bottle.1.tar.gz
🍺  /opt/homebrew/Cellar/starship/1.24.2: 12 files, 8.7MB
==> Running `brew cleanup starship`...
Disable this behaviour by setting `HOMEBREW_NO_INSTALL_CLEANUP=1`.
Hide these hints with `HOMEBREW_NO_ENV_HINTS=1` (see `man brew`).
==> Installing git-delta dependency: oniguruma
==> Pouring oniguruma--6.9.10.arm64_tahoe.bottle.tar.gz
🍺  /opt/homebrew/Cellar/oniguruma/6.9.10: 15 files, 1.5MB
==> Pouring git-delta--0.19.2.arm64_tahoe.bottle.tar.gz
🍺  /opt/homebrew/Cellar/git-delta/0.19.2: 12 files, 6.2MB
==> Running `brew cleanup git-delta`...
==> Pouring lazygit--0.61.1.arm64_tahoe.bottle.tar.gz
🍺  /opt/homebrew/Cellar/lazygit/0.61.1: 6 files, 17.7MB
==> Running `brew cleanup lazygit`...
==> Pouring yazi--26.1.22.arm64_tahoe.bottle.tar.gz
🍺  /opt/homebrew/Cellar/yazi/26.1.22: 17 files, 18.7MB
==> Running `brew cleanup yazi`...
==> Caveats
zsh completions have been installed to:
  /opt/homebrew/share/zsh/site-functions
  ✓ Tools       Installed missing CLI tools via Homebrew

🎃 Kaku environment is ready! Enjoy coding.

安装 Ghostty

网上有人推荐用 Ghostty,安装后没发现特别的,感觉替换系统默认终端可以。其他的没有什么感受。

本文由作者按照 CC BY 4.0 进行授权

© debugly. 保留部分权利。

本站采用 Jekyll 主题 Chirpy