Itdaily - Proton Drive CLI brings cloud storage to the terminal

Proton Drive CLI brings cloud storage to the terminal

Proton logo above an illustration of a computer screen with checkmarks on a grid.
Source: Proton

Proton Drive CLI lets users manage files via the terminal to integrate automated workflows.

Proton is introducing a command-line interface for its cloud storage service. With Proton Drive CLI, users can manage files via the terminal on Windows, macOS, and Linux, with the same end-to-end encryption as the standard application.

The tool is based on the recently launched Proton Drive SDK, which unifies the cloud storage service’s functionality across different platforms. The CLI is intended to complement existing applications and is primarily aimed at developers and teams looking to integrate automated workflows.

What can the CLI do?

The Proton Drive CLI supports basic operations such as listing directories, uploading and downloading files, managing the trash, and sharing via invitations. Results are displayed in readable text by default, but a JSON format is also available via the –json parameter for automation purposes.

The tool is particularly useful for tasks that need to happen at specific times, such as uploading files after a build, creating scheduled backups, or revoking access during offboarding. Users can also build the CLI into scripts or combine it with other tools via pipes.

Availability and future

The CLI is now available as precompiled binaries for Windows, macOS, and Linux. After downloading, the file must be made executable on macOS and Linux. Logging in is done via the browser, after which sessions are securely stored by the operating system.

Proton is already working on expansions, such as support for photos and albums, publicly shareable links, and multi-account functionality. In the long term, the company aims to bring all the functionality of the Proton Drive app to the command line.