mac电脑部署安装powershell

部署安装powershell

要在mac部署安装powershell,可以使用homebrew来进行部署安装,故其步骤如下:

  • 安装homebrew

/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"

  • 利用brew部署安装powershell

brew install --cask powershell

  • 验证powershell是否安装成功

pwsh

  • 卸载powershell

brew uninstall --cask powershell

参考资料

Installing PowerShell on macOS - PowerShell | Microsoft Learn

相关推荐
江梦寻2 小时前
MacOS下Homebrew国内镜像加速指南(2025最新国内镜像加速)
开发语言·后端·python·macos·架构·策略模式
*Lisen3 小时前
重新安装解决mac vscode点击不能跳转问题
ide·vscode·macos
weixin_3875456410 小时前
如何把 Mac Finder 用得更顺手?——高效文件管理定制指南
macos
itme26814 小时前
解决cocos 2dx/creator2.4在ios18下openURL无法调用的问题
macos·objective-c·cocoa
qq_2794561519 小时前
CADisplayLink、NSTimer、GCD定时器
macos·objective-c·cocoa
RR13351 天前
macOS 升级 bash 到最新版本
macos
我在北京coding1 天前
Tableau for mac 驱动
macos
檀越剑指大厂1 天前
【高效开发工具系列】Blackmagic Disk Speed Test for Mac:专业硬盘测速工具
macos
阿福不是狗1 天前
Python使用总结之Mac安装docker并配置wechaty
python·macos·docker
gen_1 天前
mac环境下的python、pycharm和pip安装使用
python·macos·pycharm