Mining 0xBTC on Linux with NVIDIA GPU

This guide assumes you are using Ubuntu 20.

  1. Download and install the drivers for your GPU

a. List the drivers that your OS detects

$ubuntu-drivers devices

b. Auto-install the drivers

$sudo ubuntu-drivers autoinstall

c. Reboot

$sudo reboot

2. Download and Run the COSMIC Miner for Linux (

a. Extract the zipped file and open the new folder

b. Open a terminal at that folder’s location and run the executable with:

$ ./cosmic-v3.4-linux

c. You will see the software open in the Terminal. Type ‘help’ for a list of commands



Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store