0
点赞
收藏
分享

微信扫一扫

oh my posh安装(新版powerShell7/pwsh安装路径/oh my posh)


文章目录

  • ​​powershell7的安装​​
  • ​​安装后所在目录(样式)​​
  • ​​通过msi安装包安装​​
  • ​​配置样式默认值​​
  • ​​更多oh my posh安装信息,参考​​
  • ​​查看当前pwsh安装路径​​

powershell7的安装

可以通过windows应用商店安装
oh my posh安装(新版powerShell7/pwsh安装路径/oh my posh)_powershell7

安装后所在目录(样式)

​C:\Users\<your userame>\AppData\Local\Microsoft\WindowsApps\Microsoft.PowerShell_8wekyb3d8bbwe\pwsh.exe​

通过msi安装包安装

  • 目前我采用此方式,比较符合我的管理习惯
  • 推荐使用安装版:

​​Installing PowerShell on Windows - PowerShell | Microsoft Docs​​

配置样式默认值

oh my posh安装(新版powerShell7/pwsh安装路径/oh my posh)_powershell7_02

更多oh my posh安装信息,参考

​​vscode/windows terminal_oh my posh(基于pwsh字体乱码问题修复)​​​​windows_oh my posh安装(基于powershell(pwsh))/启动配置文件​​

具体可以通过命令help posh 查看详情。(列举出可用地相关命令)oh my posh安装(新版powerShell7/pwsh安装路径/oh my posh)_powershell7_03

查看当前pwsh安装路径

​$psHome​​​oh my posh安装(新版powerShell7/pwsh安装路径/oh my posh)_oh my posh_04


举报

相关推荐

0 条评论