Mistake on this page? Email us

Installing Mbed studio

Download Mbed Studio for Linux, macOS or Windows.

You can perform a normal installation or a silent (no user input) installation.

The installer downloads all the elements needed for the installation, so you must have a working internet connection while running the installation.

Once installed, Mbed Studio updates automatically whenever we release a new version.

Note: You need an Mbed account to work with Mbed Studio.

On macOS

Normal installation

Run the installer and follow the installation steps.

To view the installation log, press Cmd+L.

Silent installation

Note: Use sudo to execute commands as a superuser.

To install Mbed Studio silently:

  1. Open the Terminal application.

  2. Run the installation command. Parameters:

    • -pkg MbedStudio-{version}.pkg: Path to the installer.

    • -target /: Installation volume.

      The default installation location within your selected volume is /Applications/Mbed Studio and cannot be changed.

    Example:

    sudo installer -pkg MbedStudio-{version}.pkg -target /
    

Uninstalling

To uninstall Mbed Studio:

sudo rm -rf /Applications/Mbed\ Studio.app/

On Windows

Normal installation

Run the installer and follow the installation steps.

Silent installation

A note on installation locations

By default, Mbed Studio is installed here:

  • For all users: C:\Program Files\Programs\Mbed Studio
  • For the current user: {AppData}\Local\Programs\Mbed Studio

You can change these locations when you run a silent installation.

To install Mbed Studio silently:

  1. Open a command prompt.

  2. Navigate to the directory to which you downloaded the Mbed Studio installer.

  3. Installation parameters:

    • MbedStudio-{version}.exe /S: Installs Mbed Studio in the default directory.
    • MbedStudio-{version}.exe /S /D=<target path>: Installs Mbed Studio in the directory of your choice.
    • MbedStudio-{version}.exe /S /ALLUSERS=1: Installs Mbed Studio for all Windows users. /ALLUSERS=0 installs Mbed Studio for the current user only.

    Example:

    MbedStudio.exe /S /ALLUSERS=1 /D=C:\Program Files\
    

Uninstalling

To uninstall Mbed Studio:

  • For all users:

    C:\Program Files\Programs\Mbed Studio\Uninstall Mbed Studio.exe /S
    
  • For the current user:

    {AppData}\Local\Programs\Mbed Studio\Uninstall Mbed Studio.exe /S
    

On Linux

Normal installation

To install Mbed Studio:

  1. Open a command prompt.

  2. Navigate to the directory to which you downloaded the Mbed Studio installer.

  3. Make the installer an executable by running:

    chmod +x MbedStudio-{version}.sh

  4. If you are using a graphical interface, open a terminal.

  5. Run the installation command. Parameters:

    • -y: Accept all license agreements. Note that this adds github.com to the lists of known hosts; this ensures you will be able to use your SSH key if you choose to use GitHub for source control.
    • If you want to generate a log of the installation, use one of:
      • -f: To use the default file mbed-studio.log. The file is saved to the same location as the installer.
      • -F <filename>: To use a specific filename. The default location is the same as the installer, but you can specify a path (relative or absolute).

    Example:

    ./MbedStudio-{version}.sh -y -F Myfile.log
    

libcurl4 library for Git

If you are using Git, the libcurl4 library is required for data transfer over the network.

  • If you do not have libcurl4 installed, install it:

    apt-get install libcurl4 libcurl4-openssl-dev -y

  • If you have libcurl3 installed, run this command to preserve your installation:

    cp /usr/lib/x86_64-linux-gnu/libcurl.so.3 /usr/lib/

    Then install libcurl4 as shown above.

udev rules

Udev is a Linux subsystem for dynamic device detection and management based on rules. Every received device event is matched against a set of predefined rules.

When installing Mbed Studio, you are prompted to install custom udev rules. You must install the udev rules to be able to build a program and flash it to your device or debug a program.

We recommend installing the udev rules using our installer. However, as the installation of udev rules requires sudo privileges, you can decide to install the udev rules yourself. In this case, see udev rules for Linux. Clone the pyOCD project, then follow the instructions on the page.

Silent installation

To install Mbed Studio silently, follow the steps for the normal installation and add the -q parameter.

Example:

./MbedStudio-{version}.sh -q -y -F Myfile.log

Note: You need to install the udev rules and libcurl4 library as explained above.

Uninstalling

To uninstall Mbed Studio:

$HOME/.local/bin/mbed-studio-uninstall.sh
Important Information for this Arm website

This site uses cookies to store information on your computer. By continuing to use our site, you consent to our cookies. If you are not happy with the use of these cookies, please review our Cookie Policy to learn how they can be disabled. By disabling cookies, some features of the site will not work.