Whatbox Logo

Wiki > MEGAcmd

"MEGAcmd provides non UI access to MEGA services. It intends to offer all the functionality with your MEGA account via commands. It features synchronization , backup of local folders into your MEGA account and a webdav/streaming server."


  1. git clone https://github.com/meganz/MEGAcmd.git
  2. cd MEGAcmd && git submodule update --init --recursive
  3. sh autogen.sh
  4. ./configure --without-ffmpeg --prefix="$HOME"
  5. make
  6. make install
  7. (Optional cleanup) rm -r ~/MEGAcmd/


  1. Add the bin directory to your PATH (if you've done this previously, you do not need to do it again)

     echo "PATH=\$HOME/bin:\$PATH" >> ~/.bashrc && source ~/.bashrc

mega-cmd will open the interactive shell. Enter help for basic info and a list of available commands.


To update MEGAcmd, follow the installation steps again using the latest version.