Holochain Forum

Issue Installing the Holochain dev tools

Help, I’m just getting started and having issues setting up the dev tools. I’m installing on a Windows10 machine within the Microsoft Store app Ubuntu 20.04 LTS. (following the Windows steps from Install Holochain - Holochain Docs)

During the step to install Holonix: nix-shell https://nightly.holochain.love (yes it takes a long time) I get the following error:

/nix/store/…/setup: line 1331 /nix/store/…/bin/cargo: cannot execute binary file: Exec format error

(Screenshot available but forum is saying I can’t add a media element to the post)

Any ideas what I’m missing?

@ddd-mtl do you nix-shell on Windows? have you been using nightly?

It’s all new to me, I don’t use Unix ever - just followed along with the instructions on the site Install Holochain - Holochain Docs

the step that fails is during the “nix-shell https://nightly.holochain.love

when I do the step:
nix-shell --version
I get:
nix-shell (Nix) 2.3.13

Ooops, sorry I should have been clearer, my question was directed at the user ddd-mtl that I mentioned :slight_smile:

Nope.
On windows you need to use WSL2. Here is a guide: Install WSL on Windows 10 | Microsoft Docs

You have to learn to use a shell and Unix commands in any case.

1 Like

Great! It was still running WSL1 - changing to WSL2 with the PowerShell line: wsl --set-version 2 made it work

2 Likes

yay nice, I am glad.