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

相关推荐
小草cys4 小时前
macOS 15 (Sequoia) 解除Gatekeeper限制
macos
EulerBlind5 小时前
【运维】MacOS蓝牙故障排查与修复指南
运维·macos
I烟雨云渊T5 小时前
iOS 阅后即焚功能的实现
macos·ios·cocoa
胖大和尚6 小时前
centos6.10在Macbook m芯片上使用
macos·centos
zstar-_16 小时前
FreeTex v0.2.0:功能升级/支持Mac
人工智能·python·macos·llm
zeroporn1 天前
在Mac M1/M2上使用Hugging Face Transformers进行中文文本分类(完整指南)
macos·分类·数据挖掘·nlp·transformer·预训练模型·文本分类
FreeBuf_1 天前
CVE-2025-31258 macOS远程视图服务沙箱逃逸漏洞PoC已公开
macos
小宋加油啊1 天前
Mac QT水平布局和垂直布局
开发语言·qt·macos
fanstering1 天前
mac一键安装gpt-sovit教程中,homebrew卡住不动的问题
gpt·macos
上天_去_做颗惺星 EVE_BLUE1 天前
Docker入门教程:常用命令与基础概念
linux·运维·macos·docker·容器·bash