今天遇到个蛋疼的问题  vagrant起需要powershl  偏偏gho的windows7没有powershell,于是研究怎么装,最后发现这种方法比较通用。


https://github.com/PowerShell/PowerShell


PlatformDownloadsHow to Install
Windows 10 / Server 2016 (x64).msiInstructions
Windows 8.1 / Server 2012 R2 (x64).msiInstructions
Windows 7 / Server 2008 R2 (x64).msiInstructions
Windows 7 (x86).msiInstructions
Ubuntu 16.04.debInstructions
Ubuntu 14.04.debInstructions
Debian 8.debInstructions
CentOS 7.rpmInstructions
Red Hat Enterprise Linux 7.rpmInstructions
OpenSUSE 42.1.rpmInstructions
Arch Linux Instructions
Many Linux distributions.AppImageInstructions
macOS 10.12.pkgInstructions
Docker Instructions
Kali Linux.debInstructions

直接从这里下载  你的版本  并且安装   


附加:

如果下来  建议把powershell执行exe文件 你的操作系统path环境变量  这样就能识别了

Logo

更多推荐