文章目录
powershell7的安装
可以通过windows应用商店安装
安装后所在目录(样式)
C:\Users\<your userame>\AppData\Local\Microsoft\WindowsApps\Microsoft.PowerShell_8wekyb3d8bbwe\pwsh.exe
通过msi安装包安装
- 目前我采用此方式,比较符合我的管理习惯
- 推荐使用安装版:
Installing PowerShell on Windows - PowerShell | Microsoft Docs
配置样式默认值
更多oh my posh安装信息,参考
vscode/windows terminal_oh my posh(基于pwsh字体乱码问题修复)windows_oh my posh安装(基于powershell(pwsh))/启动配置文件
具体可以通过命令help posh 查看详情。(列举出可用地相关命令)
查看当前pwsh安装路径
$psHome