The term ‘oh-my-posh’ is not recognized as a name of a cmdlet, function, script file, or executable program. Check the spelling of the name, or if a path was included, verify that the path is correct and try again.
-
找到你安装
oh-my-posh
的路径比如我的是:C:\Users\当前用户名\AppData\Local\oh-my-posh
-
设置环境变量
添加
oh-my-posh
的路径