Account
Signing in and out, account settings, and the sessions Proton holds for you.
Every command and flag is in the proton account reference. For profiles, environment variables and where things are stored, see Configuration.
Where you stand
Section titled “Where you stand”$ proton account getEmail: you@proton.meName: RomanStorage: 128.4 GB of 500 GB (26%)Max Upload: 5.0 GBProfile: defaultSession: validUnlocked: yesID: Kd91mQxT…Session: valid and Unlocked: yes together mean this machine can act as the account right now.
Signing in and out
Section titled “Signing in and out”proton account loginproton account logoutproton account logout --revoke # also invalidate it at Protonproton account logout --all # every profile on this machinelogin asks for whatever a flag has not already supplied, as long as it is running in a terminal. Without one, name the account with --user and hand the password over with --password-file or --password-stdin (why not --password).
It also unlocks your keys, so your password is needed once per machine and not again. Signing in again as the same account changes nothing, so an unattended job can run it ahead of its real work and recover on its own from a session that expired.
Security keys are not supported: they need a browser. If your account uses one, add an authenticator app in Proton’s settings and sign in with that code.
Profiles
Section titled “Profiles”A profile is a named session slot on this machine, so a personal and a work account never mix.
$ proton --profile work account login✓ Signed in as you@company.com (profile "work").
$ proton account profiles listPROFILE EMAIL UNLOCKED SAVED ACTIVE──────── ──────────────── ──────── ──────────────── ──────default you@proton.me yes 2026-04-15 14:31 ✓work you@company.com yes 2026-04-15 15:02profiles list works offline. export PROTON_PROFILE=work makes one the default for a shell.
Sessions
Section titled “Sessions”Every session Proton holds for your account, across all your devices - the “Sessions” section of Proton’s account settings.
$ proton account sessions listID CLIENT CREATED CURRENT──────── ───────── ──────────────── ───────7Kd91mQx web-mail 2026-04-15 14:31 ✓3Ns8pT2v ios-mail 2026-03-02 08:119xL4pQrT web-drive 2026-01-20 19:44proton account sessions revoke 3Ns8pT2vproton account sessions revoke --others # everything but this oneIf you lose a device, revoke its session. That also makes the credentials saved on it useless, even to someone who already copied the file.
Settings
Section titled “Settings”proton account settings get # the values now in effectproton account settings list # the keys you can change, with their valuesproton account settings set locale de_AT| Key | Values |
|---|---|
locale |
any text, e.g. de_AT |
date-format |
locale, dd/mm/yyyy, mm/dd/yyyy, yyyy-mm-dd |
time-format |
locale, 24h, 12h |
week-start |
locale, monday … sunday |
crash-reports · telemetry |
off, on |
Values can be given by name or by Proton’s own number, and mistakes are caught before anything is sent.
get shows more than set can change. Proton Sentinel, two-factor state and recovery addresses are readable here but can only be changed at account.proton.me, along with your password, recovery secrets, billing and account deletion.
Mail, Calendar and Drive each have settings of their own - proton mail settings, and so on. Pass and Contacts have none.