Monero Logo

Monero CLI Guide: Using Monero from the Command Line

Introduction

The Monero Command Line Interface (CLI) allows you to manage your Monero wallet and transactions directly from the terminal. This guide will walk you through the basics of using the Monero CLI tools, including how to set up your wallet, send and receive transactions, and perform other essential tasks.

1. Installing Monero CLI Tools

To use Monero CLI tools, you need to install the Monero software. Follow these steps to install the CLI tools:

  1. Download the Latest Release: Visit the Monero Downloads Page to download the latest CLI tools for your operating system.
  2. Extract the Files: Unzip the downloaded file to a directory of your choice.
  3. Navigate to the Directory: Open your terminal and navigate to the directory containing the extracted files.

2. Setting Up a Monero Wallet

To create a new Monero wallet using the CLI, follow these steps:

  1. Start the Monero Wallet CLI: Run the following command:
    ./monero-wallet-cli
  2. Create a New Wallet: Follow the prompts to create a new wallet. You will need to provide a name for your wallet and set a strong password.
  3. Backup Your Wallet: After creating your wallet, make sure to backup the seed phrase provided. This is crucial for restoring your wallet if needed.

3. Sending Monero Transactions

To send Monero from your CLI wallet, use the following steps:

  1. Start the Monero Wallet CLI: Ensure you are running the Monero Wallet CLI as described in the setup section.
  2. Unlock Your Wallet: Enter your password to unlock your wallet.
  3. Send a Transaction: Use the `transfer` command to send Monero:
    transfer
    Replace `` with the amount of Monero you want to send and `` with the recipient's Monero address. Follow the prompts to confirm the transaction.

4. Receiving Monero Transactions

To receive Monero, you need to provide your wallet address to the sender. Here’s how you can find your address using the CLI:

  1. Start the Monero Wallet CLI: Open the CLI as described in the setup section.
  2. Unlock Your Wallet: Enter your wallet password to access your wallet.
  3. Get Your Address: Use the `address` command to display your Monero address:
    address
    Copy the address displayed and share it with the sender.

5. Checking Your Wallet Balance

To check the balance of your Monero wallet, use the following command:

balance
This command will display your current balance and other relevant information about your wallet.

6. Advanced CLI Commands

Monero CLI offers a variety of advanced commands for more experienced users. Some useful commands include:

7. Troubleshooting

If you encounter issues while using the Monero CLI tools, consider the following tips: