alt.hn

6/9/2026 at 5:13:56 PM

Proton Drive CLI: Use Drive from Your Terminal

https://proton.me/blog/proton-drive-cli

by martinord

6/10/2026 at 6:40:16 AM

A bit annoying is that the url from the blog does not link to Proton-cli directly, but it's there somewhere on that page.

Also, I tried it, this is the result from following their instructions:

$ chmod +x proton-drive

$ ./proton-drive version =============================================== error: libsecret not available code: "ERR_SECRETS_PLATFORM_ERROR"

      at V_8 (src/cli/run.ts:77:13)
      at or0 (src/cli/run.ts:25:9)
      at async ar0 (src/cli/index.ts:29:15)
Error details: {}

So there are more steps needed (obviously the auth step).

Edit, oops no, something else is missing:

$ ./proton-drive auth login =============================================== error: libsecret not available code: "ERR_SECRETS_PLATFORM_ERROR"

      at V_8 (src/cli/run.ts:77:13)
      at or0 (src/cli/run.ts:25:9)
      at async ar0 (src/cli/index.ts:29:15)
Error details: {}

How does one get libsecret? Perhaps it's a NixOS issue.

Edit: I added libsecret to my packages, the issue persists. So, no proton-cli for me :)

by teekert

6/9/2026 at 7:51:13 PM

This is very nice, I have TBs of storage available in my family subscription but being mostly on Linux it is unused, this is really great for backups. I hope we’re gonna see some nice wrappers for this. I also hope it’s the first step towards a Dropbox/Nextcloud like client for Linux! Great work!

by teekert