megacmd : Command Line Interactive and Scriptable Application to access MEGA ( https://mega.nz/cmd )
meganz-sdk : MEGA C++ SDK ( https://github.com/meganz/sdk )
megasync : Easy automated syncing with MEGA Cloud Drive ( https://github.com/meganz/MEGAsync )
Add an ebuild in portage :
The ebuild is now in the portage tree.
You can also use layman : emerge layman then layman -a 4nykey
For Paludis use this rsync : rsync://gentoo.zugaina.org/4nykey-portage
If you have a problem : ycarus(-at-)zugaina.org