If you are running on macOS Big Sur 11.5 or higher you may receive the following error message sudo installer -pkg powershell-7.3.5-osx-圆4.pkg -target / Change the name of the file to match the file you downloaded. You can double-click the file and follow the prompts, or install it from the terminal using theįollowing commands. M1 processors - powershell-7.2.12-osx-arm64.pkg.M1 processors - powershell-7.3.5-osx-arm64.pkg.Download the install packageįrom the releases page onto your computer. Starting with version 7.2, PowerShell supports the Apple M1 processor. If you do decide to use different methods, there are ways to correct the issue using the New pwsh session will continue to use the older version of PowerShell. The same method you used to initially install PowerShell. Whether you use the cask or the tap method, when updating to a newer version of PowerShell, use When new versions of PowerShell are released, update Homebrew's formulae and upgrade PowerShell: brew updateīrew upgrade powershell -cask Now, you can install PowerShell: brew install -cask powershellįinally, verify that your install is working properly: pwsh If the brew command isn't found, you need to install Homebrew following
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |