Now that PowerShell is available on the Mac, we thought it would be useful to show how easy it is to setup a Mac terminal session that automatically opens into PowerShell. Figure 1 shows what we mean.
First you need to download the PowerShell macOS package from here (look for the Get PowerShell section in the README.md) and install it using the directions found here . Once PowerShell is installed and running on your system, follow the instructions below to set up your PowerShell terminal
Here are the steps to follow:
- Open Terminal on the Mac in whatever fashion you usually use
- In the Terminal menu, select Preferences…
- Select Profiles in the Preferences window toolbar
- Select a Profile in the left list
- Select the Gear icon at the bottom of the list
- Select Duplicate Profile from the drop down
- Rename the new profile to PowerShell
- In the Text tab on the right do the following:
- Click on Color & Effects and select a Dark Blue color from the color wheel
- Change the font to Menlo Regular 24 (or whatever works for you)
- Check all the attributes in the Text section
- Click on _Underline in the cursor section
- Click the Window Tab
- Set the title to whatever you want. We like Windows PowerShell
- Check or uncheck the other items you want or don’t want to see in the title bar
- Select the Tab tab
- check the options you want to see when you have PowerShell tabs
- Click the Shell tab
- Check Run Command and type in powershell (lowercase)
- Click on Run inside shell
- Click Never in the Ask before closing section
You now have a PowerShell profile. To open a terminal window right to PowerShell, select the Shell Menu from the Terminal menu bar. Then select New Window / PowerShell. Viola! Up comes your PowerShell terminal window.
If you ONLY want to use PowerShell as your terminal window, you can set your startup preference to your PowerShell profile:
or set PowerShell as your default profile.
There you have it! Happy PowerShelling on your Mac!
UPDATE:
Want PowerShell on your dock for immediate access? In the Terminal Preferences pane, select the PowerShell profile you created. At the bottom of the list click on the gear icon and select Export. This will create a .terminal file. Dragged the terminal file to the right side of your dock (right of the dividing line where your folders and documents live). You now have a Dock icon that immediately starts a PowerShell Terminal!
RT @SAPIENTech: Setting up PowerShell on your Mac: https://t.co/QY7giXiGuV
Setting up #PowerShell on your Mac https://t.co/mi3PXORJ74 via @SAPIENTech
Setting up #PowerShell on your Mac https://t.co/GLPM2mqj3F via @SAPIENTech
RT @Hoorge: Setting up #PowerShell on your Mac https://t.co/GLPM2mqj3F via @SAPIENTech
Run #PowerShell on your Mac. Step-by-step instructions, including tweaking colors: https://t.co/yEZkWoxuyc @SAPIENTech
RT @juneb_get_help: Run #PowerShell on your Mac. Step-by-step instructions, including tweaking colors: https://t.co/yEZkWoxuyc @SAPIENTech
RT @Hoorge: Setting up #PowerShell on your Mac https://t.co/GLPM2mqj3F via @SAPIENTech
RT @PSConfAsia: Setting up #PowerShell on your Mac https://t.co/mi3PXORJ74 via @SAPIENTech
RT @SAPIENTech: Setting up PowerShell on your Mac: https://t.co/QY7giXiGuV
RT @PSConfAsia: Setting up #PowerShell on your Mac https://t.co/mi3PXORJ74 via @SAPIENTech
RT @PSConfAsia: Setting up #PowerShell on your Mac https://t.co/mi3PXORJ74 via @SAPIENTech
RT @juneb_get_help: Run #PowerShell on your Mac. Step-by-step instructions, including tweaking colors: https://t.co/yEZkWoxuyc @SAPIENTech
RT @SAPIENTech: Setting up PowerShell on your Mac: https://t.co/QY7giXiGuV
RT @SAPIENTech: Setting up PowerShell on your Mac: https://t.co/QY7giXiGuV
RT @SAPIENTech: Setting up PowerShell on your Mac: https://t.co/QY7giXiGuV
Setting up PowerShell on your Mac https://t.co/8DD5k4MGig #PowerShell
RT @SAPIENTech: Setting up PowerShell on your Mac: https://t.co/QY7giXiGuV
RT @SAPIENTech: Setting up PowerShell on your Mac: https://t.co/QY7giXiGuV
RT @juneb_get_help: Run #PowerShell on your Mac. Step-by-step instructions, including tweaking colors: https://t.co/yEZkWoxuyc @SAPIENTech
RT @juneb_get_help: Run #PowerShell on your Mac. Step-by-step instructions, including tweaking colors: https://t.co/yEZkWoxuyc @SAPIENTech
Like a whole new planet… #PowerShellOnMac
https://t.co/yEZkWoxuyc Thanks @PowerShell_Team @SAPIENTech @toreycahn https://t.co/RJ9PzZpmqV
RT @SAPIENTech: Setting up PowerShell on your Mac: https://t.co/QY7giXiGuV
RT @juneb_get_help: Run #PowerShell on your Mac. Step-by-step instructions, including tweaking colors: https://t.co/yEZkWoxuyc @SAPIENTech
SAPIEN Technologies » Blog Archive » Setting up PowerShell on your Mac (Update!) https://t.co/UD03QTtI1S
RT @PSConfAsia: Setting up #PowerShell on your Mac https://t.co/mi3PXORJ74 via @SAPIENTech
Retweeted PSConfAsia (@PSConfAsia):
Setting up #PowerShell on your Mac https://t.co/41Muy9WJlT via @SAPIENTech https://t.co/uttzS7ORls
There we go…! https://t.co/OTsBtWBwiJ
@mpoore also https://t.co/2bbXDC3O5v
Setup #powershell on Mac
https://t.co/H2AZSKXFCg
RT @juneb_get_help: Like a whole new planet… #PowerShellOnMac
https://t.co/yEZkWoxuyc Thanks @PowerShell_Team @SAPIENTech @toreycahn htt…
RT @juneb_get_help: Like a whole new planet… #PowerShellOnMac
https://t.co/yEZkWoxuyc Thanks @PowerShell_Team @SAPIENTech @toreycahn htt…
Auto complete of commands not working when I tab.
Please post details on our support forum so that the appropriate people see this issue. https://www.sapien.com/forums/viewforum.php?f=17&sid=8cdee49ccd6e443c0b4e904ac3eccd1a