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:

OptionWhat it does
--daemon-address host:portUse this node (default is a local node on 127.0.0.1:18081)
--trusted-daemonTreat the node as trusted (your own node only)
--proxy 127.0.0.1:9050Route the wallet's connection through Tor (SOCKS5 since 0.18.5.0)
--restore-height NStart scanning at block N when restoring
--restore-date YYYY-MM-DDSame, from a date
--subaddress-lookahead major:minorHow many accounts and subaddresses to scan for
--stagenet / --testnetUse a test network
--use-legacy-seedDevelopment 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.

CommandWhat it does
balanceTotal and unlocked balance (balance detail for per-subaddress)
addressShow your primary address; address new <label> creates a subaddress
transfer <address> <amount>Send XMR
show_transfersYour transaction history
sweep_all <address>Send your entire unlocked balance
get_tx_key <txid>The transaction key, to prove a payment
seedShow your mnemonic seed (write it down)
refreshScan new blocks now
statusConnection and sync status
help / help <command>List commands, or explain one

Receiving

CommandSyntax and notes
addressaddress [ new <label> / mnew <amount of new addresses> / all / <index_min> [<index_max>] / label <index> <label> / device [<index>] / one-off <account> <subaddress>]
accountList accounts; account new <label> creates one; account switch <index>
integrated_addressCreate an integrated address with an encrypted payment ID (older method; see Monero payment ID)
incoming_transfersincoming_transfers [available/unavailable] [verbose] [uses] [index=<N1>[,<N2>[,...]]] lists your outputs
show_qr_codePrint 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, elevated or priority. Leave it out to use the default; with auto-low-priority on (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.3 pays both in one transaction, which is cheaper than two.
  • subtractfeefrom takes 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:

CommandUse
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_accountSend 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

CommandSyntax and notes
show_transfersshow_transfers [in/out/all/pending/failed/pool/coinbase] [index=<N1>,…] [<min_height> [<max_height>]]
show_transfer <txid>Details of one transaction
export_transfersWrite the history to a CSV file
payments <payment_id>Payments received with a given payment ID
unspent_outputsOutputs grouped by amount
bc_heightThe node's current height
wallet_infoWallet file, type, network, seed language
statusWhether the wallet is connected and synchronised
net_statsBytes 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

CommandSyntax
get_tx_keyget_tx_key <txid> (sender: the key that proves the payment)
check_tx_keycheck_tx_key <txid> <txkey> <address> (anyone: verify it)
get_tx_proof / check_tx_proofA signed payment proof, optionally with a message
get_spend_proof / check_spend_proofProve you made a transaction
get_reserve_proof / check_reserve_proofProve you hold at least an amount

Our guide to checking a Monero transaction walks through each.

Keys, seed and security

CommandWhat it does
seedShow the mnemonic seed
encrypted_seedShow the seed with a passphrase offset applied
viewkey / spendkeyShow the private keys (never share the spend key)
save_watch_onlyCreate a view-only copy of this wallet
passwordChange the wallet file password
lockLock the wallet now
restore_heightShow the wallet's restore height

Sync and repair

CommandUse
refreshScan new blocks
rescan_bc [hard/soft/keep_ki] [start_height=0]Rescan the blockchain from the restore height
rescan_spentAsk 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_nodesList 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

CommandUse
freeze <key_image>Exclude an output from spending
thaw <key_image>Allow it again
frozen <key_image>Check whether it is frozen
incoming_transfers verboseList outputs with their key images
mark_output_spent / mark_output_unspentCorrect 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:

StepWhereCommand
1. Export outputsOnline view-only walletexport_outputs <file>
2. Import outputsOffline full walletimport_outputs <file>
3. Export key imagesOfflineexport_key_images <file>
4. Import key imagesOnlineimport_key_images <file>
5. Create unsigned txOnlinetransfer … (writes an unsigned file)
6. SignOfflinesign_transfer
7. SubmitOnlinesubmit_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:

SettingWhat it does
set priority <0-4>Default fee priority (0 = default/automatic)
set auto-low-priority 0/1Use 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/1Ask before overwriting files
set enable-multisig-experimental 1Allow 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

CommandUse
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_bookList 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 help before an unfamiliar command, especially anything with sweep, mark_output or rescan in its name.
  • Keep ask-password on, so a wallet left open on a shared machine still needs the password to spend.
  • Do not paste the output of seed, spendkey or viewkey into 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:

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.