Overview
Themullvad account command provides account management functionality including account creation, login, logout, device management, and voucher redemption.
Syntax
Subcommands
create
Create and log in to a new Mullvad account:login
Log in to an existing account:logout
Log out from the current account:get
Display information about the current account:-v,--verbose- Enable verbose output including device ID and public key
list-devices
List all devices associated with an account:-a,--account <ACCOUNT>- Mullvad account number (uses current account if not specified)-v,--verbose- Show detailed device information including IDs and public keys
revoke-device
Revoke a device from an account:<DEVICE>- Name or UID of the device to revoke
-a,--account <ACCOUNT>- Mullvad account number (uses current account if not specified)
redeem
Redeem a voucher code:<VOUCHER>- Voucher code to submit
Examples
Create New Account
Login to Account
With account number as argument:Check Account Information
Basic account info:List Devices
List devices on current account:Revoke Device
Revoke by device name:Redeem Voucher
Logout
Account States
The account can be in one of three states:- LoggedIn - Successfully logged in with active device
- LoggedOut - Not logged in to any account
- Revoked - Device has been revoked from the account
Related Commands
Exit Status
| Code | Description |
|---|---|
| 0 | Command executed successfully |
| 1 | Command failed (e.g., invalid account, device not found) |
Notes
- Account numbers are 16-digit identifiers
- Voucher codes accept alphanumeric characters (non-alphanumeric characters are automatically removed)
- Device names and IDs are case-insensitive when revoking
- The CLI automatically updates device information before displaying account details
- Devices are sorted by creation date when listing
Source Reference
Implementation:mullvad-cli/src/cmds/account.rs