How to Install Apps from Unknown Sources on macOS
Here’s how you can install packages from unknown sources on macOS using two methods.
If you download any packages from the internet and try to install them, macOS verifies them before allowing installation. This is a security feature, so before proceeding to disable it, please be very cautious and careful. Installing packages from unknown sources can potentially damage your Mac.
Anyway, when you try to run an unknown .pkg file, you may not be able to install the package directly. Instead, go to System Settings > Privacy & Security > Security and click on “Open Anyway.” After doing this, you’ll be able to install packages from unknown sources. However, this method can be quite annoying since you have to repeat it every time for unknown packages.
So here’s another method to disable this globally so you don’t have to repeat the process every time. Open the Terminal and type: sudo spctl –master-disable
Press Enter, then enter your Mac password. You’ll see a notice. After that, go back to System Settings > Privacy & Security, and under “Allow applications from,” choose “Anywhere.” Enter your password again and apply the changes. Once this is done, you can install unknown packages without needing approval every time.
If you want to enable the restriction again, simply change it back to App Store and identified developers. Then macOS will once again ask for confirmation when installing packages from unknown sources.
Hope this helped. Thank you very much.



