Updated

Install Pickaxe, Foreman's agent, on a computer at your site so it can collect stats from your miners and carry out your commands. These steps match the Installation page in Foreman, which fills in your Client ID for you.

Before You Start

Open the Installation Page

In Foreman, go to Support > Guides > Installation in the left-hand menu. Use the commands shown there, which always point to the current version.

Install on Linux (Recommended)

  1. Connect to the Linux machine, for example over SSH.
  2. Run this command, replacing the placeholders with your Client ID and service account token. It downloads, installs, configures and starts Pickaxe:
    curl https://pickaxe.obm.io/install -Ls --output install.sh; sudo bash install.sh <CLIENT ID> <SERVICE ACCOUNT TOKEN>
  3. Go to Pickaxe in Foreman. Your new Pickaxe should appear right away.

Pickaxe is installed in /opt/foreman/pickaxe and updates itself automatically. To control the service, run sudo service foreman start, stop or restart.

Install on Windows

  1. Download the latest Foreman Windows Agent from the link on the Installation page, and unzip it.
  2. Open conf/foreman.txt and replace its contents with:
    apiKey=<SERVICE ACCOUNT TOKEN>
    clientId=<CLIENT ID>
  3. Run bin/service-start.bat. If Windows says it's an unrecognized app, click More info, then Run anyway. Allow the app to make changes to your device.
  4. Go to Pickaxe in Foreman. Your new Pickaxe should appear right away.

The agent updates Pickaxe automatically. To stop it, run bin/service-stop.bat. For larger Windows sites, see How To: Tune Windows For Pickaxe.

GPU Rigs

For GPU mining, install Pickaxe on each rig, using the Windows or Linux steps above. Rigs running nvOC 3.1 or later have Pickaxe built in: edit 1bash, set FOREMAN_MONITOR="YES", FOREMAN_CLIENT to your Client ID and FOREMAN_API_KEY to your token, then restart nvOC. The rig is added automatically within about 2 minutes.

What You Should See

On the Pickaxe page, your Pickaxe shows a green status dot. Pickaxe also has a local status page at http://localhost:8080 on the computer it runs on.

Next Steps

Common Problems

Symptom Fix
"Missing apiKey or clientId in foreman.txt" (Windows) conf/foreman.txt isn't formatted correctly. It must contain exactly the two lines shown above.
Pickaxe doesn't appear, or shows offline See Common Troubleshooting: Pickaxe.

Last verified: November 19, 2026

Was this article helpful?

0 out of 0 found this helpful

Have more questions? Submit a request

Can't find what you're looking for?

Our support team can help with setup, hardware and billing questions.

Contact Support