{"id":16081,"date":"2023-11-30T01:12:08","date_gmt":"2023-11-30T01:12:08","guid":{"rendered":"https:\/\/businessyield.com\/tech\/?p=16081"},"modified":"2023-11-30T01:12:10","modified_gmt":"2023-11-30T01:12:10","slug":"how-to-install-powershell-for-mac","status":"publish","type":"post","link":"https:\/\/businessyield.com\/tech\/how-to\/how-to-install-powershell-for-mac\/","title":{"rendered":"How to Install PowerShell for Mac: Easy Step-By-Step","gt_translate_keys":[{"key":"rendered","format":"text"}]},"content":{"rendered":"\n<p>PowerShell is a powerful programming language, and scripting implies the ability to automate tasks. However, installing PowerShell on a Mac can be difficult. But don\u2019t be concerned. After following this guide, you will be able to use PowerShell on your Mac in the same way that you would on a Windows machine. Keep reading to learn how to install and run PowerShell Core on a Mac. The process is simple, and you can get PowerShell up and running in a matter of minutes.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"h-what-is-powershell-for-mac-overview\"><span id=\"what-is-powershell-for-mac-overview\">What is PowerShell for Mac: Overview<\/span><\/h2>\n\n\n\n<p>Microsoft created PowerShell, a command-line tool and scripting language that works with it on Mac. Its main purpose is to automate system control. You can also build, test, and release solutions with PowerShell on a Mac, mostly in a CI\/CD environment.<\/p>\n\n\n\n<p>PowerShell\u2019s main goal is to help automate boring, repetitive jobs that would otherwise take too much time and slow down an administrator\u2019s work. Because PowerShell lets you make tools, you can automatically make them do boring jobs while you work on more important things. In addition to that, PowerShell is both a command-line tool and a programming language that you can use to make the automation tools you need for your job.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"h-how-to-install-powershell-for-mac\"><span id=\"how-to-install-powershell-for-mac\">How to Install PowerShell for Mac<\/span><\/h2>\n\n\n\n<p>To install PowerShell on macOS, the best way is to use Homebrew, which is the chosen package manager for macOS. In the Terminal on your Mac, first install Homebrew. Then, to install PowerShell on macOS, use the command brew install -cask powershell.<\/p>\n\n\n\n<p>Also, downloading PowerShell as a.pkg file, using Homebrew, or downloading it from a binary package are the three ways to install it. This is because Homebrew is the best package manager for macOS, so that\u2019s how you should install PowerShell too.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"h-how-to-install-powershell-for-mac-step-by-step-guide\"><span id=\"how-to-install-powershell-for-mac-step-by-step-guide\">How to Install PowerShell for Mac: Step-by-Step Guide<\/span><\/h3>\n\n\n\n<p>Homebrew is the package manager for Mac that works like apt for Ubuntu or Yum for Fedora. When you install apps on a Mac, it is more practical to do it this way than directly. In other words, Homebrew lets you install the latest stable or preview version of PowerShell for Mac on your computer by following a few steps. Follow these detailed steps to successfully install PowerShell on your Mac:<\/p>\n\n\n\n<h4 class=\"wp-block-heading\" id=\"h-1-installing-powershell-for-mac\"><span id=\"1-installing-powershell-for-mac\">#1. Installing PowerShell For Mac<\/span><\/h4>\n\n\n\n<p>A safe version of a program means that it has been tested a lot and is now ready to be used in the real world. To use Homebrew to install PowerShell on a Mac, do these things:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Start up the Terminal app.<\/li>\n<\/ul>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Run the following PowerShell installation code: The \u201cbrew\u201d part is the main Homebrew command, while the \u201ccask\u201d part is an add-on that lets Homebrew install macOS apps.<\/li>\n<\/ul>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Install the cask powershell with brew<\/li>\n<\/ul>\n\n\n\n<ul class=\"wp-block-list\">\n<li>A result like the one below will be displayed when the installation is finished. At this point, PowerShell 7.2.6 is the most up-to-date fixed version.<\/li>\n<\/ul>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Lastly, run the code below to start PowerShell.<\/li>\n<\/ul>\n\n\n\n<p>pwsh<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>You\u2019ll see something like a picture, which means PowerShell is running on your Mac.<\/li>\n<\/ul>\n\n\n\n<h4 class=\"wp-block-heading\" id=\"h-2-installation-of-powershell-on-a-mac\"><span id=\"2-installation-of-powershell-on-a-mac\">#2. Installation of PowerShell on a Mac<\/span><\/h4>\n\n\n\n<p>Microsoft also gives away preview versions of PowerShell. The new features in these updates haven\u2019t been properly tried yet, so they shouldn\u2019t be used in production. You might want to install a preview version on your computer to try out the new features. A preview version of PowerShell for Mac can be installed by following the steps below.<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Run the command below to add the repository for Homebrew versions. The preview versions of PowerShell and other apps can be found in this repository.<\/li>\n<\/ul>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Tap brew and cask versions\u00a0<\/li>\n<\/ul>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Execute the PowerShell command below to install the latest PowerShell Preview version.<\/li>\n<\/ul>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Install-cask PowerShell-preview with brew<\/li>\n<\/ul>\n\n\n\n<ul class=\"wp-block-list\">\n<li>A result like the one below will be displayed when the installation is finished. At the time this was written, 7.3-preview 7 was the latest version of PowerShell Preview.<\/li>\n<\/ul>\n\n\n\n<h4 class=\"wp-block-heading\" id=\"h-3-upgrading-powershell-for-mac\"><span id=\"3-upgrading-powershell-for-mac\">#3. Upgrading PowerShell for Mac<\/span><\/h4>\n\n\n\n<p>Using Homebrew, you can upgrade PowerShell for Mac to the most current version. New versions often include fixes for bugs and improvements to how well they work.<\/p>\n\n\n\n<p>To update PowerShell for Mac to the most current stable version, run the lines listed below in your terminal. The first command changes the list of Homebrew packages. With the second and third commands, PowerShell for Mac is updated to the most current stable and preview versions.<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Update on the Brew<\/li>\n<\/ul>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Upgrade to brew Use PowerShell-Cask<\/li>\n<\/ul>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Upgrade to brew With PowerShell-Preview-Cask.<\/li>\n<\/ul>\n\n\n\n<h4 class=\"wp-block-heading\" id=\"h-4-installing-powershell-for-mac-using-pkg-files\"><span id=\"4-installing-powershell-for-mac-using-pkg-files\">#4. Installing PowerShell For Mac Using PKG Files<\/span><\/h4>\n\n\n\n<p>Microsoft also gives you PowerShell for Mac PKG installer files. The PowerShell GitHub updates page is where you can get these files.<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>On your macOS device, download the PKG file powershell-7.2.2-osx-x64.pkg.<\/li>\n<\/ul>\n\n\n\n<ul class=\"wp-block-list\">\n<li>After you double-click the file, the installation will begin.<\/li>\n<\/ul>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Get OpenSSL set up. OpenSSL is needed for PowerShell remote access and CIM tasks.<\/li>\n<\/ul>\n\n\n\n<p>But the PKG installer is for you if you\u2019d rather use a GUI to install software than the command line. Follow these steps to use a PKG file to install PowerShell:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>After starting your browser, go to the PowerShell GitHub current releases page and click on the drop-down menu next to Assets.<\/li>\n<\/ul>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Click on the link for the PowerShell PKG file that matches the type of CPU in your machine. In case your Mac has an M1 chip, pick the arm64 choice. If not, pick the x64 link.<\/li>\n<\/ul>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Save the file in the Downloads folder.<\/li>\n<\/ul>\n\n\n\n<ul class=\"wp-block-list\">\n<li>If you double-click the saved file, the installer will begin. Then, choose \u201cOpen.\u201d<\/li>\n<\/ul>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Click Continue on the Introduction screen.<\/li>\n<\/ul>\n\n\n\n<ul class=\"wp-block-list\">\n<li>When using PowerShell for Mac to install something, only the current user account is allowed. It is not possible to choose a unique installation target path.<\/li>\n<\/ul>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Click Install on the O on the Installation Type screen.<\/li>\n<\/ul>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Click Close on the Summary screen to finish the installation.<\/li>\n<\/ul>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Type in \u201cPowerShell\u201d to run PowerShell from the Launchpad. Then, select PowerShell from the results to launch it.<\/li>\n<\/ul>\n\n\n\n<h4 class=\"wp-block-heading\" id=\"h-5-nbsp-installing-powershell-for-mac-using-dot-net-developer-cli\"><span id=\"5-installing-powershell-for-mac-using-dot-net-developer-cli\">#5.\u00a0 Installing PowerShell For Mac Using Dot Net Developer CLI<\/span><\/h4>\n\n\n\n<p>The easiest way to install PowerShell on Mac is to use the Dot Net Developer CLI. There is a DOTNET command-line interface (CLI) called the Dot Net Developer CLI that works on multiple platforms and lets you make, build, run, and share programs.<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>If you are a developer and already have dotnet CLI set up on your Mac, this might be the easiest way to install PowerShell.<\/li>\n<\/ul>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Use the command below to install PowerShell through the dotnet CLI.<\/li>\n<\/ul>\n\n\n\n<p>DOTNET TOOL INSTALL: Global Using PowerShell<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>A result like the one below will be displayed when the installation is finished.<\/li>\n<\/ul>\n\n\n\n<ul class=\"wp-block-list\">\n<li>To update the PATH variable, use the cat command listed below. By adding the PowerShell installation path to the PATH environment variable, you can run PowerShell from any directory using this command.<\/li>\n<\/ul>\n\n\n\n<ul class=\"wp-block-list\">\n<li>In your terminal session, type the command below to update the environment variable.<\/li>\n<\/ul>\n\n\n\n<p>zsh -l<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>To start PowerShell, enter the command pwsh in your terminal.<\/li>\n<\/ul>\n\n\n\n<p>pwsh<\/p>\n\n\n\n<p>That\u2019s it! You now have PowerShell installed on your Mac, and you can begin using it for your scripting and automation needs. Keep in mind, however, that PowerShell for Mac is not exactly the same as the Windows version, with some features and modules excluded, but it still has its place and is useful to have.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"h-powershell-core\"><span id=\"powershell-core\">PowerShell core<\/span><\/h2>\n\n\n\n<p>PowerShell version 5.1 is the most recent version of the original PowerShell. Starting with version 6.0, it is now called a PowerShell core. PowerShell Core is free and can be used on Windows, Linux, and Mac, among other systems. It\u2019s based on the.NET core. Windows users start PowerShell Core as pwsh, while Linux and Mac OS X users start it as pwsh. Also, PowerShell Core version 6.0 came out for the first time on August 18, 2016.<\/p>\n\n\n\n<p>By default, the standard MSI installer methods will install PowerShell Core on your computer in the 64-bit Program Files directory. This won\u2019t replace Windows PowerShell; instead, it will work right alongside PowerShell and include the latest changes to it.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"h-powershell-core-step-by-step-guide\"><span id=\"powershell-core-step-by-step-guide\">PowerShell Core: Step-by-Step Guide<\/span><\/h3>\n\n\n\n<p>There are multiple ways to install PowerShell on Windows. Each install method is designed to support different scenarios and workflows. Choose the method that best suits your needs.<\/p>\n\n\n\n<h4 class=\"wp-block-heading\" id=\"h-1-powershell-core-installation\"><span id=\"1-powershell-core-installation\">#1. PowerShell Core Installation<\/span><\/h4>\n\n\n\n<p>In this part, we\u2019ll show you how to install PowerShell Core on different platforms, set up an integrated development environment with Visual Studio Code, and use MSI to install Windows Terminal for a better PowerShell experience. You must first install PowerShell Core on your computer in order to begin using it. Follow the steps for installing on the device that works for you.<\/p>\n\n\n\n<ol class=\"wp-block-list\">\n<li>For Windows<\/li>\n<\/ol>\n\n\n\n<p>Visit the GitHub updates page to download the most recent version of PowerShell Core. Pick the right MSI installer (x64 or x86) for your machine, and then follow the steps in the installation wizard.<\/p>\n\n\n\n<ol class=\"wp-block-list\" start=\"2\">\n<li>\u00a0MacOS<\/li>\n<\/ol>\n\n\n\n<p>Use Homebrew to install PowerShell Core. Run the following command from a terminal:<\/p>\n\n\n\n<p>Running brew install \u2013cask PowerShell<\/p>\n\n\n\n<ol class=\"wp-block-list\" start=\"3\">\n<li>\u00a0Linux<\/li>\n<\/ol>\n\n\n\n<p>Some versions of Linux, like Ubuntu, Debian, CentOS, and Fedora, can have PowerShell Core installed. Refer to the official install documentation for your distribution for detailed directions on how to install.<\/p>\n\n\n\n<h4 class=\"wp-block-heading\" id=\"h-2-installing-powershell-and-visual-studio-code-add-ins-for-an-integrated-development-environment-ide\"><span id=\"2-installing-powershell-and-visual-studio-code-add-ins-for-an-integrated-development-environment-ide\">#2. Installing PowerShell and Visual Studio Code Add-Ins for an Integrated Development Environment (IDE)<\/span><\/h4>\n\n\n\n<p>Many people use Visual Studio Code (VSCode), which is a flexible code tool that works well with PowerShell Core. Take the following steps to set up an integrated development environment:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>You can download and install Visual Studio Code for free<\/li>\n<\/ul>\n\n\n\n<ul class=\"wp-block-list\">\n<li>By clicking on the O button on the left side of the window or by pressing Ctrl+Shift+X, you can access the Extensions view.<\/li>\n<\/ul>\n\n\n\n<ul class=\"wp-block-list\">\n<li>You can find the \u201cPowerShell\u201d application by Microsoft and install it.<\/li>\n<\/ul>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Finally, you now have a powerful IDE that lets you write and fix bugs in PowerShell Core scripts.<\/li>\n<\/ul>\n\n\n\n<h4 class=\"wp-block-heading\" id=\"h-3-install-powershell-core-on-windows-using-msi\"><span id=\"3-install-powershell-core-on-windows-using-msi\">#3. Install PowerShell Core on Windows Using MSI<\/span><\/h4>\n\n\n\n<p>You can use the following steps to install the PowerShell core on the Windows operating system using MSI:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>First, download the MSI file from the GitHub page of the PowerShell. Click on the following link to download:<\/li>\n<\/ul>\n\n\n\n<p><a href=\"https:\/\/github.com\">https:\/\/github.com<\/a><\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Now, go to the Get PowerShell and click on the.msi link according to the version of your system from the download (stable) column.<\/li>\n<\/ul>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Click on the downloaded file to install it. After clicking, the following setup wizard will appear: To continue to install, click on the Next<\/li>\n<\/ul>\n\n\n\n<ul class=\"wp-block-list\">\n<li>The following window shows you a default installation path for PowerShell. If you want to change it, then change it according to your choice; otherwise, click on the Next<\/li>\n<\/ul>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Again, click on the Next button after selecting the options according to your needs. And click on the Install<\/li>\n<\/ul>\n\n\n\n<ul class=\"wp-block-list\">\n<li>After installation, the PowerShell core was successfully installed on your computer system.<\/li>\n<\/ul>\n\n\n\n<h4 class=\"wp-block-heading\" id=\"h-4-installing-windows-terminal-for-a-better-powershell-experience-nbsp\"><span id=\"4-installing-windows-terminal-for-a-better-powershell-experience\">#4. Installing Windows Terminal for a Better PowerShell Experience\u00a0<\/span><\/h4>\n\n\n\n<p>Windows Terminal is a contemporary, customizable terminal program that makes it easier to use PowerShell Core and other command-line tools. Follow these steps to install Windows Terminal on your Windows system:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Search for \u201cWindows Terminal\u201d on the Microsoft Store or go directly to the Windows Terminal page.<\/li>\n<\/ul>\n\n\n\n<ul class=\"wp-block-list\">\n<li>To download and install Windows Terminal, click the \u201cGet\u201d button.<\/li>\n<\/ul>\n\n\n\n<p>After installing PowerShell Core, launch Windows Terminal and begin using it by opening a new PowerShell Core tab or making it the default shell.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"h-can-you-learn-powershell-on-mac\"><span id=\"can-you-learn-powershell-on-mac\">Can you learn PowerShell on Mac?<\/span><\/h2>\n\n\n\n<p>Yes, PowerShell is not just for Windows anymore; it now runs on Linux and macOS too<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"h-is-bash-better-than-powershell\"><span id=\"is-bash-better-than-powershell\">Is Bash better than PowerShell?<\/span><\/h2>\n\n\n\n<p>PowerShell is the best choice for managing Windows workloads<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"h-which-shell-is-best-for-macos\"><span id=\"which-shell-is-best-for-macos\">Which shell is best for macOS?<\/span><\/h2>\n\n\n\n<p>Mac\u2019s default shell is either zsh (Z shell) or bash (Bourne-again Shell).<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"h-how-do-i-know-if-powershell-is-installed-on-my-mac\"><span id=\"how-do-i-know-if-powershell-is-installed-on-my-mac\">How do I know if PowerShell is installed on my Mac?<\/span><\/h2>\n\n\n\n<p>Mostly on Mac, the PowerShell version would be 2.0 or 1.0. So the user has to check the registry or key location by giving the following command: HKEY _ LOCAL_MACHINE \\software\\powershell\\microsoft\\1- PowerShell engine.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"h-in-summary\"><span id=\"in-summary\">In Summary<\/span><\/h2>\n\n\n\n<p>We hope this article has inspired you to dive deeper into the world of PowerShell Core and continue learning about its many features and capabilities. Also, don\u2019t forget to consult the official PowerShell Core documentation and other resources, such as tutorials and community forums, to further your knowledge and expertise in this powerful tool.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"h-references\"><span id=\"references\">References<\/span><\/h2>\n\n\n\n<ul class=\"wp-block-list\">\n<li><a href=\"https:\/\/www.softwaretesttips.com\/ins\" target=\"_blank\" rel=\"noreferrer noopener nofollow\">softwaretesttips.<\/a><\/li>\n\n\n\n<li><a href=\"https:\/\/macresearch.org\/i\" target=\"_blank\" rel=\"noreferrer noopener nofollow\">macresearch.<\/a><\/li>\n\n\n\n<li><a href=\"https:\/\/adamtheautomator.com\/\" target=\"_blank\" rel=\"noreferrer noopener nofollow\">adamtheautomator<\/a><\/li>\n\n\n\n<li><a href=\"https:\/\/www.javatpoint.com\/powershell-\" target=\"_blank\" rel=\"noreferrer noopener nofollow\">.javatpoint.<\/a><\/li>\n\n\n\n<li><a href=\"https:\/\/www.linkedin.com\/\" target=\"_blank\" rel=\"noreferrer noopener nofollow\">.linkedin.<\/a><\/li>\n<\/ul>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"h-related-articles\"><span id=\"related-articles\">Related Articles<\/span><\/h2>\n\n\n\n<ol class=\"wp-block-list\">\n<li><a href=\"https:\/\/businessyield.com\/tech\/how-to\/install-git-on-windows\/\">How to Install Git on Windows: Easy Step-by-Step<\/a><\/li>\n\n\n\n<li><a href=\"https:\/\/businessyield.com\/tech\/technology\/how-to-code-in-python\/\">HOW TO CODE IN PYTHON: Step-By-Step Guide<\/a><\/li>\n\n\n\n<li><a href=\"https:\/\/businessyield.com\/tech\/reviews\/powerchart\/\">POWERCHART: Overview, Features, Competitors & More 2023<\/a><\/li>\n\n\n\n<li><a href=\"https:\/\/businessyield.com\/tech\/how-to\/how-to-invert-colours-on-iphone\/\">HOW TO INVERT COLOURS ON IPHONE: Easy Tips That Do the Trick<\/a><\/li>\n\n\n\n<li><a href=\"https:\/\/businessyield.com\/tech\/apps\/how-to-delete-an-outlook-email-account\/\">How to Delete an Outlook Email Account: All You Need<\/a><\/li>\n<\/ol>\n","protected":false,"gt_translate_keys":[{"key":"rendered","format":"html"}]},"excerpt":{"rendered":"PowerShell is a powerful programming language, and scripting implies the ability to automate tasks. However, installing PowerShell on&hellip;\n","protected":false,"gt_translate_keys":[{"key":"rendered","format":"html"}]},"author":286,"featured_media":16506,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[11],"tags":[],"class_list":{"0":"post-16081","1":"post","2":"type-post","3":"status-publish","4":"format-standard","5":"has-post-thumbnail","7":"category-how-to"},"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.5 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>How to Install PowerShell for Mac: Easy Step-By-Step<\/title>\n<meta name=\"description\" content=\"PowerShell, a command-line tool and scripting language that works with it on Mac. Its main purpose is to automate system control. Keep reading to learn how to install and run PowerShell Core on a Mac.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/businessyield.com\/tech\/how-to\/how-to-install-powershell-for-mac\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"How to Install PowerShell for Mac: Easy Step-By-Step\" \/>\n<meta property=\"og:description\" content=\"PowerShell, a command-line tool and scripting language that works with it on Mac. Its main purpose is to automate system control. Keep reading to learn how to install and run PowerShell Core on a Mac.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/businessyield.com\/tech\/how-to\/how-to-install-powershell-for-mac\/\" \/>\n<meta property=\"og:site_name\" content=\"Business Yield Technology\" \/>\n<meta property=\"article:published_time\" content=\"2023-11-30T01:12:08+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2023-11-30T01:12:10+00:00\" \/>\n<meta property=\"og:image\" content=\"http:\/\/businessyield.com\/tech\/wp-content\/uploads\/sites\/2\/2023\/11\/cccccccccccc-58.jpg\" \/>\n\t<meta property=\"og:image:width\" content=\"500\" \/>\n\t<meta property=\"og:image:height\" content=\"250\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/jpeg\" \/>\n<meta name=\"author\" content=\"Chinecherem Onuorah\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Chinecherem Onuorah\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"9 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/businessyield.com\\\/tech\\\/how-to\\\/how-to-install-powershell-for-mac\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/businessyield.com\\\/tech\\\/how-to\\\/how-to-install-powershell-for-mac\\\/\"},\"author\":{\"name\":\"Chinecherem Onuorah\",\"@id\":\"https:\\\/\\\/businessyield.com\\\/tech\\\/#\\\/schema\\\/person\\\/59cd27f29aeeb00675e27d3db92755f1\"},\"headline\":\"How to Install PowerShell for Mac: Easy Step-By-Step\",\"datePublished\":\"2023-11-30T01:12:08+00:00\",\"dateModified\":\"2023-11-30T01:12:10+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/businessyield.com\\\/tech\\\/how-to\\\/how-to-install-powershell-for-mac\\\/\"},\"wordCount\":2073,\"commentCount\":0,\"image\":{\"@id\":\"https:\\\/\\\/businessyield.com\\\/tech\\\/how-to\\\/how-to-install-powershell-for-mac\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/i0.wp.com\\\/businessyield.com\\\/tech\\\/wp-content\\\/uploads\\\/sites\\\/2\\\/2023\\\/11\\\/cccccccccccc-58.jpg?fit=500%2C250&ssl=1\",\"articleSection\":[\"How-to\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\\\/\\\/businessyield.com\\\/tech\\\/how-to\\\/how-to-install-powershell-for-mac\\\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/businessyield.com\\\/tech\\\/how-to\\\/how-to-install-powershell-for-mac\\\/\",\"url\":\"https:\\\/\\\/businessyield.com\\\/tech\\\/how-to\\\/how-to-install-powershell-for-mac\\\/\",\"name\":\"How to Install PowerShell for Mac: Easy Step-By-Step\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/businessyield.com\\\/tech\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/businessyield.com\\\/tech\\\/how-to\\\/how-to-install-powershell-for-mac\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/businessyield.com\\\/tech\\\/how-to\\\/how-to-install-powershell-for-mac\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/i0.wp.com\\\/businessyield.com\\\/tech\\\/wp-content\\\/uploads\\\/sites\\\/2\\\/2023\\\/11\\\/cccccccccccc-58.jpg?fit=500%2C250&ssl=1\",\"datePublished\":\"2023-11-30T01:12:08+00:00\",\"dateModified\":\"2023-11-30T01:12:10+00:00\",\"author\":{\"@id\":\"https:\\\/\\\/businessyield.com\\\/tech\\\/#\\\/schema\\\/person\\\/59cd27f29aeeb00675e27d3db92755f1\"},\"description\":\"PowerShell, a command-line tool and scripting language that works with it on Mac. Its main purpose is to automate system control. Keep reading to learn how to install and run PowerShell Core on a Mac.\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/businessyield.com\\\/tech\\\/how-to\\\/how-to-install-powershell-for-mac\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/businessyield.com\\\/tech\\\/how-to\\\/how-to-install-powershell-for-mac\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/businessyield.com\\\/tech\\\/how-to\\\/how-to-install-powershell-for-mac\\\/#primaryimage\",\"url\":\"https:\\\/\\\/i0.wp.com\\\/businessyield.com\\\/tech\\\/wp-content\\\/uploads\\\/sites\\\/2\\\/2023\\\/11\\\/cccccccccccc-58.jpg?fit=500%2C250&ssl=1\",\"contentUrl\":\"https:\\\/\\\/i0.wp.com\\\/businessyield.com\\\/tech\\\/wp-content\\\/uploads\\\/sites\\\/2\\\/2023\\\/11\\\/cccccccccccc-58.jpg?fit=500%2C250&ssl=1\",\"width\":500,\"height\":250,\"caption\":\"Image by rawpixel.com on Freepik\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/businessyield.com\\\/tech\\\/how-to\\\/how-to-install-powershell-for-mac\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/businessyield.com\\\/tech\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"How to Install PowerShell for Mac: Easy Step-By-Step\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/businessyield.com\\\/tech\\\/#website\",\"url\":\"https:\\\/\\\/businessyield.com\\\/tech\\\/\",\"name\":\"Business Yield Technology\",\"description\":\"Best Tech Reviews, Apps, Phones, &amp; Gaming\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/businessyield.com\\\/tech\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/businessyield.com\\\/tech\\\/#\\\/schema\\\/person\\\/59cd27f29aeeb00675e27d3db92755f1\",\"name\":\"Chinecherem Onuorah\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/1b09cd1b748a80d7e00bb7711687b0a4daa460ffcee63ac720f8fabd37eac2d7?s=96&d=mm&r=g\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/1b09cd1b748a80d7e00bb7711687b0a4daa460ffcee63ac720f8fabd37eac2d7?s=96&d=mm&r=g\",\"contentUrl\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/1b09cd1b748a80d7e00bb7711687b0a4daa460ffcee63ac720f8fabd37eac2d7?s=96&d=mm&r=g\",\"caption\":\"Chinecherem Onuorah\"},\"description\":\"Onuora Favour is a content writer, editor, and lifelong learner with an insatiable desire to discover new things. She combines her bachelor's degree in business administration with her natural interest and expertise as a sales team lead and SEO expert to offer comprehensive articles that are informative for individuals and business owners.\",\"url\":\"https:\\\/\\\/businessyield.com\\\/tech\\\/author\\\/chinecherem\\\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"How to Install PowerShell for Mac: Easy Step-By-Step","description":"PowerShell, a command-line tool and scripting language that works with it on Mac. Its main purpose is to automate system control. Keep reading to learn how to install and run PowerShell Core on a Mac.","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/businessyield.com\/tech\/how-to\/how-to-install-powershell-for-mac\/","og_locale":"en_US","og_type":"article","og_title":"How to Install PowerShell for Mac: Easy Step-By-Step","og_description":"PowerShell, a command-line tool and scripting language that works with it on Mac. Its main purpose is to automate system control. Keep reading to learn how to install and run PowerShell Core on a Mac.","og_url":"https:\/\/businessyield.com\/tech\/how-to\/how-to-install-powershell-for-mac\/","og_site_name":"Business Yield Technology","article_published_time":"2023-11-30T01:12:08+00:00","article_modified_time":"2023-11-30T01:12:10+00:00","og_image":[{"width":500,"height":250,"url":"http:\/\/businessyield.com\/tech\/wp-content\/uploads\/sites\/2\/2023\/11\/cccccccccccc-58.jpg","type":"image\/jpeg"}],"author":"Chinecherem Onuorah","twitter_card":"summary_large_image","twitter_misc":{"Written by":"Chinecherem Onuorah","Est. reading time":"9 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/businessyield.com\/tech\/how-to\/how-to-install-powershell-for-mac\/#article","isPartOf":{"@id":"https:\/\/businessyield.com\/tech\/how-to\/how-to-install-powershell-for-mac\/"},"author":{"name":"Chinecherem Onuorah","@id":"https:\/\/businessyield.com\/tech\/#\/schema\/person\/59cd27f29aeeb00675e27d3db92755f1"},"headline":"How to Install PowerShell for Mac: Easy Step-By-Step","datePublished":"2023-11-30T01:12:08+00:00","dateModified":"2023-11-30T01:12:10+00:00","mainEntityOfPage":{"@id":"https:\/\/businessyield.com\/tech\/how-to\/how-to-install-powershell-for-mac\/"},"wordCount":2073,"commentCount":0,"image":{"@id":"https:\/\/businessyield.com\/tech\/how-to\/how-to-install-powershell-for-mac\/#primaryimage"},"thumbnailUrl":"https:\/\/i0.wp.com\/businessyield.com\/tech\/wp-content\/uploads\/sites\/2\/2023\/11\/cccccccccccc-58.jpg?fit=500%2C250&ssl=1","articleSection":["How-to"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/businessyield.com\/tech\/how-to\/how-to-install-powershell-for-mac\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/businessyield.com\/tech\/how-to\/how-to-install-powershell-for-mac\/","url":"https:\/\/businessyield.com\/tech\/how-to\/how-to-install-powershell-for-mac\/","name":"How to Install PowerShell for Mac: Easy Step-By-Step","isPartOf":{"@id":"https:\/\/businessyield.com\/tech\/#website"},"primaryImageOfPage":{"@id":"https:\/\/businessyield.com\/tech\/how-to\/how-to-install-powershell-for-mac\/#primaryimage"},"image":{"@id":"https:\/\/businessyield.com\/tech\/how-to\/how-to-install-powershell-for-mac\/#primaryimage"},"thumbnailUrl":"https:\/\/i0.wp.com\/businessyield.com\/tech\/wp-content\/uploads\/sites\/2\/2023\/11\/cccccccccccc-58.jpg?fit=500%2C250&ssl=1","datePublished":"2023-11-30T01:12:08+00:00","dateModified":"2023-11-30T01:12:10+00:00","author":{"@id":"https:\/\/businessyield.com\/tech\/#\/schema\/person\/59cd27f29aeeb00675e27d3db92755f1"},"description":"PowerShell, a command-line tool and scripting language that works with it on Mac. Its main purpose is to automate system control. Keep reading to learn how to install and run PowerShell Core on a Mac.","breadcrumb":{"@id":"https:\/\/businessyield.com\/tech\/how-to\/how-to-install-powershell-for-mac\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/businessyield.com\/tech\/how-to\/how-to-install-powershell-for-mac\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/businessyield.com\/tech\/how-to\/how-to-install-powershell-for-mac\/#primaryimage","url":"https:\/\/i0.wp.com\/businessyield.com\/tech\/wp-content\/uploads\/sites\/2\/2023\/11\/cccccccccccc-58.jpg?fit=500%2C250&ssl=1","contentUrl":"https:\/\/i0.wp.com\/businessyield.com\/tech\/wp-content\/uploads\/sites\/2\/2023\/11\/cccccccccccc-58.jpg?fit=500%2C250&ssl=1","width":500,"height":250,"caption":"Image by rawpixel.com on Freepik"},{"@type":"BreadcrumbList","@id":"https:\/\/businessyield.com\/tech\/how-to\/how-to-install-powershell-for-mac\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/businessyield.com\/tech\/"},{"@type":"ListItem","position":2,"name":"How to Install PowerShell for Mac: Easy Step-By-Step"}]},{"@type":"WebSite","@id":"https:\/\/businessyield.com\/tech\/#website","url":"https:\/\/businessyield.com\/tech\/","name":"Business Yield Technology","description":"Best Tech Reviews, Apps, Phones, &amp; Gaming","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/businessyield.com\/tech\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Person","@id":"https:\/\/businessyield.com\/tech\/#\/schema\/person\/59cd27f29aeeb00675e27d3db92755f1","name":"Chinecherem Onuorah","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/secure.gravatar.com\/avatar\/1b09cd1b748a80d7e00bb7711687b0a4daa460ffcee63ac720f8fabd37eac2d7?s=96&d=mm&r=g","url":"https:\/\/secure.gravatar.com\/avatar\/1b09cd1b748a80d7e00bb7711687b0a4daa460ffcee63ac720f8fabd37eac2d7?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/1b09cd1b748a80d7e00bb7711687b0a4daa460ffcee63ac720f8fabd37eac2d7?s=96&d=mm&r=g","caption":"Chinecherem Onuorah"},"description":"Onuora Favour is a content writer, editor, and lifelong learner with an insatiable desire to discover new things. She combines her bachelor's degree in business administration with her natural interest and expertise as a sales team lead and SEO expert to offer comprehensive articles that are informative for individuals and business owners.","url":"https:\/\/businessyield.com\/tech\/author\/chinecherem\/"}]}},"jetpack_featured_media_url":"https:\/\/i0.wp.com\/businessyield.com\/tech\/wp-content\/uploads\/sites\/2\/2023\/11\/cccccccccccc-58.jpg?fit=500%2C250&ssl=1","jetpack_sharing_enabled":true,"gt_translate_keys":[{"key":"link","format":"url"}],"_links":{"self":[{"href":"https:\/\/businessyield.com\/tech\/wp-json\/wp\/v2\/posts\/16081","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/businessyield.com\/tech\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/businessyield.com\/tech\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/businessyield.com\/tech\/wp-json\/wp\/v2\/users\/286"}],"replies":[{"embeddable":true,"href":"https:\/\/businessyield.com\/tech\/wp-json\/wp\/v2\/comments?post=16081"}],"version-history":[{"count":4,"href":"https:\/\/businessyield.com\/tech\/wp-json\/wp\/v2\/posts\/16081\/revisions"}],"predecessor-version":[{"id":16510,"href":"https:\/\/businessyield.com\/tech\/wp-json\/wp\/v2\/posts\/16081\/revisions\/16510"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/businessyield.com\/tech\/wp-json\/wp\/v2\/media\/16506"}],"wp:attachment":[{"href":"https:\/\/businessyield.com\/tech\/wp-json\/wp\/v2\/media?parent=16081"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/businessyield.com\/tech\/wp-json\/wp\/v2\/categories?post=16081"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/businessyield.com\/tech\/wp-json\/wp\/v2\/tags?post=16081"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}