教程:命令行的艺术(the-art-of-command-line)

scoop下载

https://scoop.sh/

  1. # 在 PowerShell 中输入下面内容,保证允许本地脚本的执行:
  2. set-executionpolicy remotesigned -scope currentuser
  1. # 然后执行下面的命令安装 Scoop:
  2. iex (new-object net.webclient).downloadstring('https://get.scoop.sh')
  1. # 静待脚本执行完成就可以了,安装成功后,让我们尝试一下:
  2. scoop help

image.png

lazygit

https://github.com/jesseduffield/lazygit

Add the extras bucket

  1. scoop bucket add extras

Install lazygit

  1. scoop install lazygit

然后进入一个git文件夹用终端打开输入 lazygit 即可

Windows Terminal

按照此教程可以DIY如下:
image.png
image.png

oh-my-posh

https://ohmyposh.dev/docs/windows

  1. Install-Module posh-git -Scope CurrentUser
  2. Install-Module oh-my-posh -Scope CurrentUser

https://blog.csdn.net/weixin_44490152/article/details/113854767
安装字体
image.png

参考:https://zhuanlan.zhihu.com/p/163007658