scoop : 无法将“scoop”项识别为 cmdlet、函数、脚本文件或可运行程序的名称。请检查名称的拼写,如果包括路径,请确保路径正确,然后再试一次。
所在位置 行:1 字符: 1
+ scoop uninstall scoop
+ ~~~~~
+ CategoryInfo : ObjectNotFound: (scoop:String) [], ParentContainsErrorRecordException
+ FullyQualifiedErrorId : CommandNotFoundException
解决办法:卸载重装
找到目录,执行以下命令
del .\scoop -Force
重装时如果出现以下提示
Running the installer as administrator is disabled by default, see https://github.com/ScoopInstaller/Install#for-admin for details.
执行以下命令
iex "& {$(irm get.scoop.sh)} -RunAsAdmin"