Skip to content
Erebor

Install on Windows

For Erebor v0.2.1 · Updated 26 November 2026 · Source on GitHub

Windows 10/11 (x64)

  1. Download Erebor_<version>_x64-setup.exe.
  2. Check the hash: Get-FileHash .\Erebor_*_x64-setup.exe -Algorithm SHA256 and compare it with SHA256SUMS in the release.
  3. Run the installer. SmartScreen may warn because the binary is not code-signed yet.
  4. WebView2 is required (built into Windows 11; the installer fetches it on Windows 10).

Windows Defender flags every mining program as "CoinMiner". Erebor explains this and, only if you agree, excludes its own miners folder (Windows asks for administrator approval). Erebor never tries to get around an antivirus: the decision is yours.

Miners

On first run Erebor downloads the pinned official release of each miner it needs from GitHub and checks its SHA-256; in the advanced settings you can pick an existing binary instead (marked "not verified"). XMRig's huge pages and MSR mod may need administrator rights: Erebor doesn't ask for them and doesn't change the system.

Uninstall

Uninstall the app from the system. Delete local data from Settings › Data › "Delete all local data" (or delete the data folder shown there). CLI: erebor service off, then remove ~/.local/bin/erebor and the data folder (docs/CLI.md).

Common errors

MessageFix
"Install or select a miner"Let the setup install it, or erebor miner install <miner>
"The miner binary changed after verification"Reinstall or select it again: the file was modified
"Blocked by the antivirus"Allow Erebor's miners folder (the app offers to do it on Windows)
Pool unreachableCheck firewall, network or company proxy

Erebor Agent on Windows

Not yet verified on a real Windows machine: the agent cross-compiles for Windows and the protocol is cross-platform, but the installer and the scheduled task below are untested. Please report results.

Install

From an Administrator PowerShell (only the installation needs it; the agent runs without admin rights):

Invoke-WebRequest https://raw.githubusercontent.com/samuelviviani/erebor/main/scripts/install-agent.ps1 -OutFile install-agent.ps1
notepad install-agent.ps1            # read what it does
powershell -ExecutionPolicy Bypass -File install-agent.ps1 [-Listen 100.64.0.5:7420] [-Version vX.Y.Z]

It downloads the signed erebor-windows-x86_64.exe of the release (SHA-256 checked) into C:\Program Files\Erebor as erebor.exe and erebor-agent.exe, creates C:\ProgramData\Erebor\agent (only LOCAL SERVICE and Administrators), turns remote control on, adds firewall rules for TCP/UDP 7420 on private and domain networks only, and registers the scheduled task Erebor Agent: at startup, as NT AUTHORITY\LOCAL SERVICE, restarted every minute if it stops. It prints a pairing code at the end.

Why a scheduled task and not a Windows service: a service binary must answer the Service Control Manager, which the agent doesn't implement yet; the task gives the same start at boot, restart on failure and least privilege.

Use

& "C:\Program Files\Erebor\erebor-agent.exe" pair --data-dir C:\ProgramData\Erebor\agent
& "C:\Program Files\Erebor\erebor-agent.exe" status --data-dir C:\ProgramData\Erebor\agent
Get-Content C:\ProgramData\Erebor\agent\agent.log -Wait        # log
Stop-ScheduledTask "Erebor Agent"; Start-ScheduledTask "Erebor Agent"

On Windows there is no local socket: the agent is managed over the remote protocol (from Erebor Desktop or erebor devices on another computer). Defender flags miners as "CoinMiner": exclude C:\ProgramData\Erebor\agent\miners only if you trust the verified builds Erebor installs.

Uninstall

powershell -ExecutionPolicy Bypass -File install-agent.ps1 -Uninstall [-Purge]

Report a problem with this page