Get Started Developing with Holochain
Hardware Requirements
- 8GB+ RAM (16GB+ recommended)
- 4+ cores CPU (6+ cores recommended)
- 30GB+ available disk space
- High Speed Internet connection
Install the Holochain Dev Environment
Prerequisite for Windows: WSL2
The Nix package manager, which we use to install and manage Holochain development tools, only supports Mac and Linux. Please install Linux under Windows with WSL2 (Windows Subsystem for Linux).
Holochain is supported for the Ubuntu distribution under WSL2.
Install the Nix Package Manager and set up Holochain binary cache
At a command line:
bash <(curl https://holochain.github.io/holochain/setup.sh)
Verify installation
In a new shell session, type:
nix develop github:holochain/holochain -c $SHELL -c "holochain --version"
If you see
Holochain development shell spawned. Type exit to leave.
holochain
the Holochain Dev Environment is set up successfully.
Scaffold An Example Holochain App
Type the following at the command line:
nix run github:holochain/holochain#hc-scaffold -- example forum
When prompted, select the UI framework you prefer.
After completing the project setup, the scaffolding tool will output the commands to run the Holochain app.
Next Step
Learn More
- Dive into the Holochain Core Concepts.
- Take a look at the developer documentation.
- SDK and API references
- Rust HDK overview Learn more about Rust in the Rust book.
- Join the discussion in the HC.dev discord.