How to Install & upgrade Mega command line (megacmd) on your Raspberry Pi running Ubuntu 20.04 or Rasperry Pi OS 10.

This quick guide will teach you how to add the Repositroy so you can easily install and upgrade the “Megacmd” and “Megasync” apps on your Linux Distribution. This tutorial will show you how to do it specifically on Ubuntu 20.04, however, the instructions can be easily modified for any ARM based debian based distribution.


Go to the repository at in your web browser, and select the folder that pertains to your working distribution. For the Raspberry Pi (because you need the ARM version), that is going to be the Raspbian_10.0 folder located at

Then Go to your terminal and add the Release.key file to your apt repository:

wget -qO - | sudo apt-key add -


Add the repo to your apt repository.

sudo nano /etc/apt/sources.list.d/

Your nano text editor should pop up. When it does, copy and paste the following text into it:

# repo for 32bit (compatable with 64-bit) Raspberry Pi
deb [arch=armhf] ./

Now, update your apt list, then install mega-cmd from your newly added repository:

sudo apt update && sudo apt install megacmd

To run your newly installed mega command line application run the following command: