How to Open PowerShell on Mac?


❗️For this to work, you need to have PowerShell installed on your Mac if it's not check out this tutorial - https://code2care.org/howto/install-powershell-on-macos


In order to open PowerShell on a Mac running macOS you should open Terminal App and type PWSH, this will switch your current Shell to PowerShell, you can see that the prompt has changed to PS > which indicates PowerShell.


In the below example, I have opened PowerShell from the current Zsh shell,


% PWSH
PowerShell 7.2.1
Copyright (c) Microsoft Corporation.

PS /Users/c2c> 

Open Powershell on Mac
Open Powershell on Mac


Top Hashtags:

Advertisements

Advertisements




Advertisements