> For the complete documentation index, see [llms.txt](https://docs.kryptokrona.org/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.kryptokrona.org/mining/mining-on-macos.md).

# Mining on macOS

.. So you've got a Mac? Well, good news, the new Apple Silicon chips are very efficient to mine XKR on! You can expect at least 1kh/s on some of the newer Apple laptops, at a very low wattage.

Below you can follow a concise step-by-step guide on how to start mining!

### 1. Install brew

Homebrew is a terminal app that let's you install terminal applications with ease. They call it "The Missing Package Manager for macOS", which is an apt description. If you haven't installed it yet, do so by opening Terminal.app (command + space, and write terminal to open it) and write the following command:

```
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
```

*Source:* [*https://brew.sh/*](https://brew.sh/)

### 2. Install xmrig

Then we will use your new brew installation to install the mining software, called xmrig. Simply type the following in the terminal to install it:

```
brew install xmrig
```

When it's finished (usually takes a few minutes), the software is installed and ready to go, but you will need a config so that you're mining the right coin to the right wallet.

### 3. Generate a config-file

You can generate a config on our website: <https://kryptokrona.org/mining>

To do so, you will need a wallet first. We recommend using [Aesir wallet](/guides/wallets/using-kryptokrona-wallet.md) to handle your XKR coins. If you want to get started without having to download any additional software, you can also generate a paper wallet at <https://explorer.kryptokrona.se/tools.html> and use that address, and then import it to the wallet in the app later. ***Dont forget to save the mnemonic seed, otherwise you won't be able to access the coins!***

When you've pasted your wallet address into the generator, it should start a download of a ***config.json*** file that will end up in your downloads folder.

### 4. Start the miner

Now you can simply start mining by typing the following into the terminal:

```
xmrig -c ~/Downloads/config.json
```

<figure><img src="/files/oeQZ7KY62RKqF8TcwLcW" alt=""><figcaption><p>If everything went right, it should look something like this!</p></figcaption></figure>


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://docs.kryptokrona.org/mining/mining-on-macos.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
