You can do it from the settings. If you don't see it right away, search for install unknown apps, and enable the permission or flip the switch next to All from this source. In Android, when you install the app from any other app or source, you will need to enable the permission for that app. The next time, you will be able to install it right away. Now that you know, you can block the option from the primary setting and disable developer mode.