安装PowerShell 7

一、PowerShell 7.4.4

方法一:GitHub安装msi(文件有点大,可能有点慢)

进入网站:https://github.com/PowerShell/PowerShell/releases/download/v7.4.4/PowerShell-7.4.4-win-x64.msi

或:

https://github.com/PowerShell/PowerShell/releases/download/v7.4.4/PowerShell-7.4.4-win-x86.msi

下载后打开文件,

一直点Next即可。

方法二:PowerShell命令(有可能不行)

先输入:

winget search Microsoft.PowerShell

 如果输出:

Name               Id                           Version   Source
-----------------------------------------------------------------
PowerShell         Microsoft.PowerShell         7.4.4.0   winget
PowerShell Preview Microsoft.PowerShell.Preview 7.5.0.3   winget

那么使用 id 参数安装 PowerShell:

winget install --id Microsoft.Powershell --source winget
winget install --id Microsoft.Powershell.Preview --source winget  

 二、PowerShell 7.5.0 - preview 3

方法一:GitHub安装msi(文件有点大,可能有点慢)

进入:https://github.com/PowerShell/PowerShell/releases/download/v7.5.0-preview.3/PowerShell-7.5.0-preview.3-win-x64.msi

或:https://github.com/PowerShell/PowerShell/releases/download/v7.5.0-preview.3/PowerShell-7.5.0-preview.3-win-x86.msi 

下载后打开文件,

一直点Next即可。

方法二:GitHub安装zip包

进入网站:https://github.com/PowerShell/PowerShell/releases/download/v7.5.0-preview.3/PowerShell-7.5.0-preview.3-win-x64.zip

或:https://github.com/PowerShell/PowerShell/releases/download/v7.5.0-preview.3/PowerShell-7.5.0-preview.3-win-x86.zip 解压即可。

  • 8
    点赞
  • 2
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值