Install Holochain without Holonix¶
In case you don’t want to use Holonix to set up your development environment, here are steps provided to install Holochain binaries directly from the crate registry. At first the required Rust toolchain and features are installed, followed by the actual Holochain dependencies.
Holonix is the recommended way to set up your development environment.
We don’t provide support for installing Holochain without Holonix.
Ubuntu-based Linux distributions¶
Install Rust toolchain¶
- Rust toolchain installation
- Install target to build WebAssembly binaries
rustup target add wasm32-unknown-unknown
- Linux build tools
sudo apt-get install build-essential
- OpenSSL
sudo apt-get install libssl-dev
- Build dependency for Cargo libraries
sudo apt-get install pkg-config
Install Holochain dependencies¶
cargo install holochain -f cargo install holochain_cli -f cargo install lair_keystore -f --version '^0.0'