Search, open, download and upload Proton Drive files from Raycast, using the official Proton Drive CLI.
Install the CLI: download it from the Proton Drive CLI download page
(macos/arm64 for Apple silicon, macos/x64 for Intel). It is a single binary, with no installer:
put it in a folder such as ~/.local/bin (create it if needed) and make it executable:
mkdir -p ~/.local/bin && mv ~/Downloads/proton-drive ~/.local/bin/ && chmod +x ~/.local/bin/proton-drive
Sign in once (opens your browser; the session is stored in the macOS Keychain), either with the Log In to Proton Drive command or in a terminal:
proton-drive auth login
Tested with Proton Drive CLI 0.8.0 and 0.9.0.
The CLI Path preference defaults to proton-drive, looked up in /opt/homebrew/bin, /usr/local/bin,
~/.local/bin, ~/bin and PATH; set a full path there if the CLI is installed elsewhere.
| Command | What it does |
|---|---|
| Search Files | Opens on your Drive's root; navigate folder by folder with a detail panel on the right. Typing filters the current folder and, if the search index exists, the whole Drive. Folders already visited show instantly from cache. Sort by name, date modified or size; folder sizes (all files below a folder) come from the search index, so without it folders keep their name order. |
| Upload Files | Uploads the Finder selection, or files you choose when nothing is selected, to a folder you pick (existing files are renamed, folders merged). |
| Log In to Proton Drive | Checks the CLI session; logs in through the browser (Terminal fallback) or logs out. |
| Refresh Search Index | Rebuilds the index. Also runs daily while Raycast's Background Refresh is on for this command: off when installed from the Store, on once you run the command yourself, and switchable in the command's settings. |
Actions on a file or folder: Open (downloads to a cache, then opens), Download (⌘D, to the download directory, never overwrites), Show Enclosing Folder, Copy Public Link (reuses an existing link, or asks before creating one), Copy Drive Path, Copy Name.
Preferences: CLI Path for the whole extension; Primary Action (Open or Download on Enter) and Download Directory under Search Files, the only command that uses them.
The CLI has no search and no recursive listing, and each call takes a few seconds (it signs in and decrypts on every run). The extension therefore crawls the Drive once, folder by folder, in parallel, and keeps the result in Raycast's support directory.
Only /my-files is indexed; "Shared with me", Photos and the trash are not.
proton-drive auth logout, expiry), the
extension deletes the same data as soon as the CLI reports it, and shows nothing from the Drive.Unofficial extension, not affiliated with or endorsed by Proton AG. The Proton Drive logo comes from Proton's media kit. Proton Drive: proton.me/drive.
Browse and search your Proton Drive
Upload the Finder selection, or files you choose, to a Proton Drive folder
Check authentication status and log in
Rebuild the local index used by Search Files