Install latest/stable of xmrig

Ubuntu 16.04 or later?

Make sure snap support is enabled in your Desktop store.

Install using the command line

sudo snap install xmrig

Don't have snapd? Get set up for snaps.

Channel Version Published

XMRig is a high performance, open source, cross platform CPU/GPU miner

XMRig is a high performance, open source, cross platform RandomX, KawPow, CryptoNight and AstroBWT unified CPU/GPU miner and RandomX benchmark.

To run, open a terminal:

* Ensure you've identified the options you'd like to run
* Identify the pool (and port) desired
* Use your wallet address
* Example: `xmrig -o example.pool.com:4444 -u [wallet address]`
* Hit enter and profit

If using a config file (e.g. config.json), you can place it in /home/$USER/snap/xmrig/common/, or provide xmrig with the location of the config file in the command (e.g. --config=FILE)

For more options, visit: https://xmrig.com/docs/miner/command-line-options

Additionally, check out the Configuration Wizard: https://xmrig.com/wizard

Details for xmrig

  • GPL-3.0

Last updated
  • 9 March 2023 - latest/stable
  • 7 March 2023 - latest/edge



Share this snap

Generate an embeddable card to be shared on external websites.

Install xmrig on your Linux distribution

Choose your Linux distribution to get detailed installation instructions. If yours is not shown, get more details on the installing snapd documentation.

Where people are using xmrig

Users by distribution (log)

Ubuntu 22.04
Ubuntu 20.04
Ubuntu 24.04
Debian 12
Debian 11
Ubuntu 23.10
Ubuntu 18.04
pop 22.04
Debian 10
Linux Mint 21.3
Zorin OS 16
Zorin OS 17
Ubuntu 23.04
CentOS 7
rhel 9.2
Linux Mint 20.3
Linux Mint 21.2
Ubuntu 21.10

Is there a problem with xmrig? Report this app