Adding chia.exe to your PATH on Windows for easy use

PowerShell will do globbing with a * wildcard like this:

$ENV:LOCALAPPDATA\chia-blockchain\app-*\resources\app.asar.unpacked\daemon

With a PowerShell profile you could add an alias just to chia.exe as other files in the path are never called directly anyways:

new-alias chia $home\scoop\apps\chia-blockchain\current\resources\app.asar.unpacked\daemon\chia.exe

Here chia was installed via scoop from this bucket.

3 Likes