ORIGINAL SOURCE: https://sugary-selenium-eb9.notion.site/Power-BI-installation-guide-for-Mac-ed07be30d6b94cf2ad9325dddd38d9d3
This guide provides step-by-step instructions to download and use Power BI on Mac (both Intel and M1/M2 chips).
We will need to set up a Windows Virtual Machine on our Mac in order to install Power BI. We will install Windows 11 using a UTM Virtual Machine in this guide.
MAC OS REQUIREMENTS: MAC OS 11 or Later.. otherwise you cant follow this guide.
Storage requirements.
You will need at least 32 GB of free disc space on your Mac. Check if you have enough storage space available before you start.
Let’s begin.
During the installation process we will use the Mac terminal and configure Windows from scratch. Don’t worry if you haven’t ever done that before, we made this guide informative and easy to understand! Just follow the instructions :)
What Mac chip do I have?
Go to the UTM page for Windows 10/11 by clicking the following link: https://mac.getutm.app/gallery/windows-10
You will also find the installation instructions there. Check them in case you find this guide confusing at any point.
Press “UTM for Mac”. It will redirect you to a Github page.
Scroll down a bit until you see a section called “Assets” and download the “UTM.dmg” file. NOTE make sure you also see 13 May 2022.
Find UTM.dmg in your Download dropdown menu and run the file.
Drag the UTM icon and drop it into the Applications folder.
Once the installation is complete you may close this tab.
Now you can run UTM from your Applications folder.
Here it is important to download the right file for your Mac. If you have a Mac with ****the M1/M2 chip, you should pick “Windows 11 Insider Preview 10.0.22000.160 (co_release) arm64 | arm64 file”:
If you have a Mac with an Intel chip, your choice is “Windows 11 Insider Preview 10.0.22000.160 (co_release) amd64 | x64”
Select the version you need and it will redirect you to the UUP dump page.
Press “Next” two times. You do not need to change any configurations here. Then press “Create download package”.
You will see a zip file in your downloads now.
Create a new folder on your Desktop. In this guide we will name it “WindowsVM”. IMPORTANT: DO NOT GIVE A SPACE TO NAME, for eg: Windows VM
Put your zip file in this new folder and double click it to unarchive. Now we have this folder 22000. We will come back to this later.
Enter the following commands one by one. Wait until each command is fully executed before entering a new one. Some of them may take time to complete. You can see when the terminal is ready for a new command if it has a “% or $” at the end.
softwareupdate --install-rosetta
and type “A” afterwards as instructed by the installer. It it says not supported, then just continue to the next step.
arch -x86_64 /bin/bash -c "$(curl -fsSL <https://raw.githubusercontent.com/Homebrew/install/master/install.sh>)"
Typing this command might result in the system asking you to enter your password. After that press “Enter” as the installer tells you. Wait for the installation. You might be asked to type in your password again.
after you install homebrew, you may be asked to run these two command, as shown in this picture:
First, run cd ~ , then, as instructed in here https://ralphjsmit.com/install-homebrew-macos : Copy the two commands from your terminal (they're a slightly different for each computer), paste them and hit enter. Note that the first command starts with echo...
up to .../.zprofile
and the second is eval " ... shellenv)"
Then close the terminal then open again.
IF not, then continue to running these command one at a time:
arch -x86_64 brew tap sidneys/homebrew
arch -x86_64 brew install aria2 cabextract wimlib cdrtools sidneys/homebrew/chntpw
IF YOU FIND ERROR RELATED WITH chntpw. Something like this….
Run this command:
brew tap minacle/chntpw
Then run this command:
arch -x86_64 brew install minacle/chntpw/chntpw
Then wait the process until it finishes installing chntpw
[NEXT STEP] Now we need to open our folder in the terminal. go back to this folder again
Then, you should copy the folder path name.
[NEXT STEP - Change directory of the terminal] now, go back to Terminal. Type the following command:
Then click space, then paste the pathname. Hence if our pathname is /Users/refocusmaniamantap/Desktop/WindowsVM/22000.160_arm64_en-us_multi_fdb8a3c7_convert-2
Then your full command will be
If your pathname contains any space, for eg:
/Users/refocusmaniamantap/Desktop/Windows VM/22000.160_arm64_en-us_multi_fdb8a3c7_convert-2
Then you must add “” to your pathname, so your full command will be:
then Run the command. You should now be in the directory with the file you need.
[NEXT STEP - Extracting the ISO] Enter the following commands:
chmod +x uup_download_macos.sh
./uup_download_macos.sh
this will take some time (30 - 60 minutes) to complete.Important! if you have error no such files:
It means you have failed to run the previous step successfully. Please go back to step Change directory in terminal, and run step Extracting the ISO again.
Now you have your ISO file!
Open UTM.
Click “Create a New Virtual Machine”, select “Virtualize” and choose Windows.
Make sure to uncheck “Import VHDX image”.
On this page press “Browse…” and navigate to the folder where you have your ISO file (the folder that we had previously unarchived), choose it and press “Open”.
Select the amount of memory and CPU Cores for your Virtual Machine. 4096 MB for memory and 4 CPU Cores should be sufficient.
Choose your storage size. Ensure that you have enough free disc space on your computer. In this guide we will use 64 GB. If you don’t have much free space you can specify less, but it is not recommended to use less than 32 GB of storage space.
Press “Continue”.
Do not change anything on this page and press “Continue”.
Press “Save”.
You should now have your VM configured. DO NOT CLICK PLAY BUTTON YET.
READ THIS BEFORE YOU CLICK PLAY. After you press the big “Play” button, the Virtual Machine will start loading. Once it’s loaded you will see a black screen saying “Press any key to boot from CD or DVD.” The moment this screen pops up quickly press the “esc” button on your keyboard to run the installer.
The moment this screen pops up quickly press the “esc” button on your keyboard to run the installer.
If you not, you will see the following screen, it means you did not press the “esc” in time. No worries, just reboot the Virtual Machine with the “shut down” button in the top-left corner.
You should now see the following screen. Keep the default values and press “Next”.
Press “Install” now. In the “Activate Windows” page press “I don’t have a product key” and choose the Professional version on the following screen.
If you see the following message, follow these steps.
After you enter regedit.exe, a Registry Editor will open.