Skip to main content
Version: 20 Mar 2024

Install the Tools

Get the tools you need to build applications for the Magic Leap 2 headset. The Magic Leap 2 is built on top of the Android Open Source Project (AOSP), Android 10 (Q) API level 29, whereas ML1 was built on top of a Linux-derived in-house OS.

Install Magic Leap Hub

The Magic Leap Hub lets you install and manage Magic Leap tools, including the Magic Leap SDK for Native and Unity, example projects, and tools like MRTK for Magic Leap.

  1. Navigate to the download section of the developer portal.
  2. Download the Hub installer that is compatible with your operating system.
  3. Run the installer and complete the setup wizard.
Windows users

Windows users should install redistributables from the Microsoft Visual C++ Redistributable latest supported downloads page.

Download and install the relevant redistributable package for "Visual Studio 2015, 2017, 2019, and 2022." The x64 version is most-likely the version you need.

Failure to install this could cause unexpected failures with the ML Hub and/or the Application Simulator.

  1. Launch ML Hub and click Package Manager, located in the top right corner.
The ML Hub Home Screen
  1. On the left pane of Package Manager, select the package bundle you want to install. A list of packages is displayed in the right pane. Select any optional packages on the list.
tip

We recommend installing the Magic Leap Application Simulator (known shorthand as "App Sim") and the sample packages.

The ML Hub Package Manager "All" view
  1. Click Apply Changes to begin installing.
  2. After installation is complete, proceed to the next section.

Next Steps

After installing the ML Hub, you are ready to set up your preferred development environment.