monero-wallet-cli is the Monero Project's command-line wallet and the most complete Monero wallet there is: everything the GUI does, plus proofs, coin control, cold signing and multisig. The commands most people need are few: balance, address, transfer, show_transfers, sweep_all, get_tx_key, seed, refresh and help. This cheat sheet lists those first, then the rest by task, with the exact syntax printed by the wallet itself in release 0.18.5.4 (16 October 2026). Type help <command> in the wallet for the full description of any of them, and apropos <word> to search.
The CLI comes in the same download as the node from getmonero.org. If you are new to it, our Linux wallet guide shows how to download and verify it.
Starting the wallet
./monero-wallet-cli # asks for a wallet name
./monero-wallet-cli --wallet-file mywallet # open an existing wallet
./monero-wallet-cli --generate-new-wallet mywallet # create a new one
./monero-wallet-cli --restore-deterministic-wallet # restore from a seed
./monero-wallet-cli --generate-from-view-key watch # view-only wallet
Useful start-up options:
| Option | What it does |
|---|---|
--daemon-address host:port | Use this node (default is a local node on 127.0.0.1:18081) |
--trusted-daemon | Treat the node as trusted (your own node only) |
--proxy 127.0.0.1:9050 | Route the wallet's connection through Tor (SOCKS5 since 0.18.5.0) |
--restore-height N | Start scanning at block N when restoring |
--restore-date YYYY-MM-DD | Same, from a date |
--subaddress-lookahead major:minor | How many accounts and subaddresses to scan for |
--stagenet / --testnet | Use a test network |
--use-legacy-seed | Development builds only: create a 25-word seed instead of Polyseed |
The last one does not exist in 0.18.5.x, which still creates 25-word seeds; it appears in the Monero source's development branch, where Polyseed has become the default for new wallets.
The ten commands you will use most
In the syntax tables below, / separates alternatives; the wallet's own help prints a vertical bar there. Square brackets mark optional parts.
| Command | What it does |
|---|---|
balance | Total and unlocked balance (balance detail for per-subaddress) |
address | Show your primary address; address new <label> creates a subaddress |
transfer <address> <amount> | Send XMR |
show_transfers | Your transaction history |
sweep_all <address> | Send your entire unlocked balance |
get_tx_key <txid> | The transaction key, to prove a payment |
seed | Show your mnemonic seed (write it down) |
refresh | Scan new blocks now |
status | Connection and sync status |
help / help <command> | List commands, or explain one |
Receiving
| Command | Syntax and notes |
|---|---|
address | address [ new <label> / mnew <amount of new addresses> / all / <index_min> [<index_max>] / label <index> <label> / device [<index>] / one-off <account> <subaddress>] |
account | List accounts; account new <label> creates one; account switch <index> |
integrated_address | Create an integrated address with an encrypted payment ID (older method; see Monero payment ID) |
incoming_transfers | incoming_transfers [available/unavailable] [verbose] [uses] [index=<N1>[,<N2>[,...]]] lists your outputs |
show_qr_code | Print a QR code of an address in the terminal |
Give each payer its own subaddress (address new <label>). Our subaddress guide explains why.
Sending
transfer, in full:
transfer [index=<N1>[,<N2>,...]] [<priority>] [<ring_size>] (<URI> | <address> <amount>) [subtractfeefrom=<D0>[,<D1>,all,...]] [<payment_id>]
- Priority is
unimportant,normal,elevatedorpriority. Leave it out to use the default; withauto-low-priorityon (the default), the wallet picks the lowest level when there is no backlog. Our fee guide explains the levels. - Ring size is fixed at 16 by the protocol; there is no reason to set it.
- Several recipients:
transfer addr1 0.2 addr2 0.3pays both in one transaction, which is cheaper than two. subtractfeefromtakes the fee out of the amounts sent instead of from your change:transfer addr1 3 addr2 0.5 addr3 1 subtractfeefrom=0,2(the wallet's own example).index=spends only from the listed subaddresses of the current account.
Other sending commands:
| Command | Use |
|---|---|
sweep_all [index=… / index=all] [<priority>] [outputs=<N>] <address> | Send everything unlocked; outputs=N splits the result into N outputs |
sweep_single [<priority>] [outputs=<N>] <key_image> <address> | Send one specific output |
sweep_below <amount_threshold> [index=…] [<priority>] <address> | Consolidate outputs smaller than an amount |
sweep_account | Send everything in one account |
donate <amount> | Donate to the Monero development fund |
Every sending command shows the amount and fee and asks for confirmation. Read the fee before typing Y; a remote node can report a misleading fee.
History and status
| Command | Syntax and notes |
|---|---|
show_transfers | show_transfers [in/out/all/pending/failed/pool/coinbase] [index=<N1>,…] [<min_height> [<max_height>]] |
show_transfer <txid> | Details of one transaction |
export_transfers | Write the history to a CSV file |
payments <payment_id> | Payments received with a given payment ID |
unspent_outputs | Outputs grouped by amount |
bc_height | The node's current height |
wallet_info | Wallet file, type, network, seed language |
status | Whether the wallet is connected and synchronised |
net_stats | Bytes sent and received |
show_transfers pending and show_transfers pool are the first things to check when a payment seems stuck; see Monero transaction pending.
Proofs: showing that a payment happened
| Command | Syntax |
|---|---|
get_tx_key | get_tx_key <txid> (sender: the key that proves the payment) |
check_tx_key | check_tx_key <txid> <txkey> <address> (anyone: verify it) |
get_tx_proof / check_tx_proof | A signed payment proof, optionally with a message |
get_spend_proof / check_spend_proof | Prove you made a transaction |
get_reserve_proof / check_reserve_proof | Prove you hold at least an amount |
Our guide to checking a Monero transaction walks through each.
Keys, seed and security
| Command | What it does |
|---|---|
seed | Show the mnemonic seed |
encrypted_seed | Show the seed with a passphrase offset applied |
viewkey / spendkey | Show the private keys (never share the spend key) |
save_watch_only | Create a view-only copy of this wallet |
password | Change the wallet file password |
lock | Lock the wallet now |
restore_height | Show the wallet's restore height |
Sync and repair
| Command | Use |
|---|---|
refresh | Scan new blocks |
rescan_bc [hard/soft/keep_ki] [start_height=0] | Rescan the blockchain from the restore height |
rescan_spent | Ask a trusted node which of your outputs are spent |
scan_tx <txid> [<txid> …] | Scan specific transactions |
set_daemon <host>[:<port>] [trusted/untrusted/this-is-probably-a-spy-node] | Switch node without restarting |
public_nodes | List public nodes the connected node knows about |
Yes, this-is-probably-a-spy-node is a real option: it marks a node as untrusted in the strongest terms. If balances look wrong after a restore, our restore height guide explains set refresh-from-block-height plus rescan_bc.
Coin control
| Command | Use |
|---|---|
freeze <key_image> | Exclude an output from spending |
thaw <key_image> | Allow it again |
frozen <key_image> | Check whether it is frozen |
incoming_transfers verbose | List outputs with their key images |
mark_output_spent / mark_output_unspent | Correct the wallet's view of an output (advanced) |
Cold signing and view-only wallets
The offline-signing flow, with a view-only wallet online and the full wallet offline:
| Step | Where | Command |
|---|---|---|
| 1. Export outputs | Online view-only wallet | export_outputs <file> |
| 2. Import outputs | Offline full wallet | import_outputs <file> |
| 3. Export key images | Offline | export_key_images <file> |
| 4. Import key images | Online | import_key_images <file> |
| 5. Create unsigned tx | Online | transfer … (writes an unsigned file) |
| 6. Sign | Offline | sign_transfer |
| 7. Submit | Online | submit_transfer |
Our view key guide explains view-only wallets and key images.
Multisig
prepare_multisig, make_multisig, exchange_multisig_keys, export_multisig_info, import_multisig_info, sign_multisig, submit_multisig, plus mms, the multisig messaging system. All require set enable-multisig-experimental 1 first. Our Monero multisig guide has the full walkthrough.
Settings (set)
Type set alone to list every setting with its current value. The ones people change most:
| Setting | What it does |
|---|---|
set priority <0-4> | Default fee priority (0 = default/automatic) |
set auto-low-priority 0/1 | Use the lowest fee when there is no backlog |
set ask-password … | When to ask for the password |
set inactivity-lock-timeout <seconds> | Auto-lock after inactivity (0 = off for this session) |
set refresh-from-block-height <N> | Change the restore height |
set subaddress-lookahead <major>:<minor> | Scan further for subaddresses |
set confirm-export-overwrite 0/1 | Ask before overwriting files |
set enable-multisig-experimental 1 | Allow multisig commands |
Mining from the wallet
start_mining [<number_of_threads>] [bg_mining] [ignore_battery] and stop_mining mine solo through a local node. That is fine for learning; for real mining, use P2Pool and XMRig (P2Pool mini vs main vs nano).
Node commands are separate
monerod, the node, has its own console with commands such as status, sync_info, print_cn, print_pool_sh, relay_tx, flush_txpool, prune_blockchain and exit. They are typed in the node's window, not the wallet's. Our guide on how to run a Monero node covers them.
Notes, labels and the address book
| Command | Use |
|---|---|
set_tx_note <txid> [free text note] | Attach a private note to a transaction |
get_tx_note <txid> | Read it back |
set_description [free text] | A description for the whole wallet |
address label <index> <label> | Rename a subaddress label |
address_book | List saved addresses |
address_book add <address> [<description>] | Save an address |
address_book delete <index> | Remove one |
Notes, labels and the address book live in the wallet's cache file, not in the seed. Back up the wallet files as well as the seed if you rely on them for bookkeeping.
Signing messages
sign <filename> signs the contents of a file with your wallet's key, and verify <filename> <address> <signature> checks such a signature. That is how you prove control of an address without moving any funds, for example to a forum or a counterparty.
Examples of common tasks
Pay an invoice with a low fee, and keep the proof:
transfer unimportant 8InvoiceSubaddress... 0.42
get_tx_key <txid>
Consolidate many small mining payouts into one output:
sweep_all index=all 8YourOwnSubaddress...
Do this when the network is quiet; the fee depends on the number of inputs.
Create labelled subaddresses for a list of clients:
address new Client A
address new Client B
address all
Check what a payment is still waiting for:
show_transfers pending
show_transfers pool
bc_height
Switch to your own node over Tor without restarting (with the wallet started with --proxy):
set_daemon yourlongv3onionaddress.onion:18089 trusted
Fix a balance after restoring with too high a restore height:
set refresh-from-block-height 3000000
rescan_bc
Each of these is covered in more depth in the guides linked above. When in doubt, help <command> prints the wallet's own description, which is always the most current reference for the version you are running.
Safety tips for working in the CLI
The command line does exactly what you type, so a few habits are worth keeping:
- Read every confirmation prompt. The wallet shows the amount, the fee and the destination before it signs; that prompt is your last chance to catch a pasted address that is not the one you meant.
- Check addresses by their first and last characters after pasting. Clipboard-swapping malware exists for every platform.
- Use
helpbefore an unfamiliar command, especially anything withsweep,mark_outputorrescanin its name. - Keep
ask-passwordon, so a wallet left open on a shared machine still needs the password to spend. - Do not paste the output of
seed,spendkeyorviewkeyinto chats or support tickets. The view key reveals your incoming payments; the seed and the spend key give away the funds. - Close the wallet with
exit, which saves the cache cleanly; killing the terminal can leave the wallet to rescan next time.
Our recommendation
For release notes and security warnings, these Telegram channels are worth following:
- cryptoresearch@cryptoresearchOPEN@cryptoresearch: research and explainers
- Crypto_Crime_News@Crypto_Crime_NewsOPEN@Crypto_Crime_News: scams and exploit warnings
FAQ
How do I check my balance in monero-wallet-cli?
Type balance. It shows the total balance and the unlocked balance; balance detail breaks it down by subaddress.
How do I send Monero from the command line?
transfer <address> <amount>, then confirm. Add a priority (unimportant, normal, elevated, priority) before the address if you want a specific fee level.
How do I see my seed in the Monero CLI?
Type seed and enter the wallet password. Write it down and keep it offline.
How do I create a new address in monero-wallet-cli?
address new <label> creates a subaddress with a label. address all lists every address.
How do I change the node in monero-wallet-cli?
set_daemon <host>:<port>, optionally followed by trusted or untrusted, or start the wallet with --daemon-address.
Where is the full list of Monero CLI commands?
Type help in the wallet for the list and help <command> for details. apropos <word> searches the descriptions.
