Hey friend In an effort to grow oh-my-posh, the decision was made to no longer support the PowerShell module. Over the past year, the added benefit of the module disappeared, while the burden of maintaining it increased. However, this doesn't mean oh-my-posh disappears from your terminal, it just means that you'll have to use a different tool to install it. All you need to do, is follow the migration guide here: https://ohmyposh.dev/docs/migrating
表示你过去是用 Install-Module 的方式安裝 Oh My Posh 根据迁移建议,彻底卸载,然后使用官方建议安装方式安装 卸载命令: