Issue starting up hugo - "This app can't run on your PC"

I’m extremely new to hugo, and i’ve been trying to get the command prompt set up, i’ve set up a path variable.
I’m running windows 11 22H2 and using an x64-based processor.
every time i try running the “hugo version” command it keeps saying “this app cannot run on your pc”

i’m not entirely sure what the reason is, but i installed the amd64 version.

A couple of things:

  1. You may have downloaded the wrong version. You need to expand the list of versions available (GitHub hides some of the options by default) and download the windows version
  2. You may need to ‘unblock’ the executable (Windows nowadays doesn’t like to let you run ‘unknown’ (i.e. not in the millions of known good downloads) binary without a manual action). You need to right click on the downloaded Zip file and select Properties and then tick the Unblock checkbox.

Or use Chocolately or winget.

HTH

1 Like

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.