windows terminal终端美化

1,安装Windows terminal 

可以选择window商店安装或者GitHub安装,安装步骤省略。

2.oh my posh 安装

安装步骤可以选择window 商店或者GitHub安装,步骤省略

3.安装字体 nerd font[官网链接]

4.配置 oh my posh 

####第一次要输入以下命令来创建配置文件
 new-item -path $profile -itemtype file -force

###编辑配置文件
   oh-my-posh init pwsh --config 'C:\Users\xingpeng\AppData\Local\Programs\oh-my-posh\themes\space.omp.json' | Invoke-Expression

5.重启terminal客户端

windows terminal终端美化_第1张图片

或者输入“ Get-PoshThemes”来浏览内置的其他主题,选择后自己配置

windows terminal终端美化_第2张图片

你可能感兴趣的:(笔记,termianl)