This page describes how to install the Mender client on an existing Linux system. Installing Mender this way does not offer a full Mender board integration, so you can not carry out full system updates, however, it is possible to use Update Modules to update applications and other parts of the system.

If you need the full board integration, follow the device documentation in System Updates: Yocto Project or System Updates: Debian family.

Install Mender using the Debian package

Mender provides a Debian package (.deb) for convenience to install on e.g Debian, Ubuntu or Raspberry Pi OS.

See the instructions in our downloads section for the explicit steps required.

Configure the mender-client

The setup is different depending on your server configuration and the most common cases are shown below. Use mender setup --help to learn about all configuration options.

Set the following variables:


Configure Mender with:

sudo mender setup \
            --device-type $DEVICE_TYPE \
            --hosted-mender \
            --tenant-token $TENANT_TOKEN \

Finally, to restart the Mender service for the new configuration to take effect run the following command:

sudo systemctl restart mender-client

Install from source

As an alternative to using a Debian package, it is possible to install the Mender client from source by following the guidelines outlined in the of the Mender client source repository.

We welcome contributions to improve this documentation. To submit a change, use the Edit link at the top of the page or email us at .