MEGA CMD
Access MEGA services with commands
MEGA CMD is a command line tool that works with your MEGA account and data. It allows you to access MEGA services via commands.
MEGA CMD gives advanced users a flexible way of automating interaction with their MEGA account.
Two different ways to run it
You can run MEGA CMD’s non-interactive commands from within your scripts or programs.
Interactive
A command line shell to interact with your MEGA account. Navigate your MEGA account as if it was a local folder.
Scriptable
Run scriptable commands from your favourite Linux or Mac shell such as bash, or you can even run its commands in a Windows command prompt – without having to use complex low-level APIs.
Live encrypted syncing
Access and work with your data securely across different locations and devices protected by MEGA’s zero-knowledge encryption.
Configure automatic backups
MEGA CMD allows you to automatically configure periodic backups of a local folder to keep historical snapshots of your files.
Learn moreWebDAV support
Use your favourite WebDAV client to interact with your MEGA account through MEGA CMD.
Learn moreFTP solution
Configuring an FTP service will let you access your MEGA files easily from your local computer. All major platforms support access to an FTP server.
Learn moreDownload the MEGA CMD app
Official packages
CMD for Windows
For Windows 7 and higher, Windows Server 2008 R2 and higher.
How to build and use MEGA CMD
Visit our GitHub repository for details.
ReadMe
Basic information about MEGA CMD features and usage instructions for every platform and details on how to build it from our public source GitHub repository.
User guide
Find out how to use MEGA CMD and see examples and details of how each of the commands work.
Public source
Enables independent verification of the correctness of our cryptographic model.