URGENT: How to do hc dev offline?

Ok my internet has gone and now of course the nixshell cannot find the holochain.love address so how are you supposed to do hc dev offline? Others must have had this issue?

Any help would be really appreciated.

Thanks.

you can clone github.com/holochain/holochain-rust at a particular tag, or holonix itself, to your computer, and then (once while you are online) launch nix-shell from that folder, and then later you will be able to relaunch the same nix-shell without an internet connection

3 Likes

Great thanks, I checked out the latest tag/release here:

But I cannot see the Windows binaries? There use to be and the text above states there is but in the list below I cannot see, am I missing something?

Many thanks,
David.

It’s cool, @e-nastasia solved it for me and updated her tips here:

https://forum.holochain.org/t/environment-configuration/3655

running Holochain shell offline

Default suggested way to start Holochain shell is to run the command nix-shell https://holochain.love which downloads the newest data for the shell every time (which makes sense given high speed of development and change).

However, there’s another way to do that if you wish:

  1. open https://holochain.love in your browser and download the .tar.gz archive – it will prompt you to do that
  2. unpack this archive by running tar -xf <archive file>
  3. you’ll get a directory like holochain-holonix-<short hash>
  4. from the same directory run the nix-shell command using your unpacked directory name as a parameter, for example: nix-shell holochain-holonix-6a1542d/
  5. volla, you’re running Holochain shell! and now you don’t have to download it every time you need it.
1 Like