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

相关推荐
柯南二号3 分钟前
【大前端】【Android】【iOS】iOS 和 Android 常见“垂直居中”
macos·gitee·cocoa
2501_9160074717 小时前
iOS 证书如何创建,从能生成到能长期使用
android·macos·ios·小程序·uni-app·cocoa·iphone
PeaceKeeper721 小时前
Objective-c的内存管理以及Block
开发语言·macos·objective-c
枉费红笺21 小时前
Linux / macOS 环境下解压 ZIP 文件的标准命令与常用变体
linux·运维·macos
逐梦苍穹21 小时前
为什么 AI 时代用 macOS 更好(以及如何少踩坑)
人工智能·macos
冰箱上的笑话21 小时前
Neovim 中文输入深度优化指南
macos·编辑器·vim·lazyvim
itwangyang5201 天前
macOS(Sequoia 15.x)+ MacTeX 2025 + TeXShop + 期刊模板
java·开发语言·macos
wheeldown1 天前
【Linux网络编程】网络基础之MAC地址与IP地址的区别
linux·运维·网络·macos
2501_916007471 天前
Xcode 在 iOS 上架中的定位,多工具组合
android·macos·ios·小程序·uni-app·iphone·xcode
2501_915106321 天前
iOS 抓包工具在不同场景的实际作用
android·macos·ios·小程序·uni-app·cocoa·iphone