微慑信息网

[OS] win10下 windows终端安装

项目地址:https://github.com/microsoft/terminal/releases

下载安装:

 

 

添加到右键:

参考:https://blog.csdn.net/jiunian_2761/article/details/121367407

 

但是无法安装,报错:

.\install.ps1 : 无法运行脚本“install.ps1”,因为该脚本包含用于 Windows PowerShell 6.0 的 "#requires" 语句。该脚本需要
使用的 Windows PowerShell 版本与当前运行的 Windows PowerShell 版本 5.1.19041.1682 不匹配。
所在位置 行:1 字符: 1
+ .\install.ps1
+ ~~~~~~~~~~~~~
    + CategoryInfo          : ResourceUnavailable: (install.ps1:String) [], ScriptRequiresException
    + FullyQualifiedErrorId : ScriptRequiresUnmatchedPSVersion

升级powershell 7 ,地址:https://docs.microsoft.com/zh-cn/powershell/scripting/whats-new/differences-from-windows-powershell?view=powershell-7.2

安装文件:

 

 

然后使用管理员打开powershell,输入:

Set-ExecutionPolicy Bypass -Scope Process -Force; 
[System.Net.ServicePointManager]::SecurityProtocol = [System.Net.ServicePointManager]::SecurityProtocol -bor 3072; iex ((New-Object System.Net.WebClient).DownloadString('https://raw.githubusercontent.com/qianfanguojin/windowsterminal-menu/master/install.ps1'))

即可

赞(0) 打赏
转载请附本站链接,未经允许不得转载,,谢谢:微慑信息网-VulSee.com » [OS] win10下 windows终端安装

评论 抢沙发

微慑信息网 专注工匠精神

微慑信息网-VulSee.com-关注前沿安全态势,聚合网络安全漏洞信息,分享安全文档案例

访问我们联系我们

觉得文章有用就打赏一下文章作者

非常感谢你的打赏,我们将继续提供更多优质内容,让我们一起创建更加美好的网络世界!

支付宝扫一扫打赏

微信扫一扫打赏

登录

找回密码

注册