Quickstart to Setup on Local Environment
This guide will walk you through the process of getting started with DIVE CLI. This all-in-one tool is designed to simplify blockchain development, set up local environments, and enable seamless cross-chain communication.
Prerequisites
Before you begin with DIVE CLI, make sure you have the following prerequisites installed on your system:
- Docker (opens in a new tab): Ensure Docker is installed and running on your machine.
- Kurtosis (opens in a new tab): Make sure you have Kurtosis installed and running, or upgrade to the latest version (opens in a new tab) if necessary.
These prerequisites are essential to ensure a smooth setup and usage of DIVE CLI.
Installing Dive CLI
Install on MacOS
brew install hugobyte/tap/dive-cli
Install on Linux
curl -L https://github.com/HugoByte/DIVE/releases/download/{latest-version}/dive-cli_{latest-version}_linux_{arch}.tar.gz
tar -xvzf dive-cli_{latest-version}_linux_{arch}.tar.gz
mv dive /usr/local/bin
rm dive-cli_{latest-version}_linux_{arch}.tar.gz
Install on Windows
Invoke-WebRequest -Uri "https://github.com/HugoByte/DIVE/releases/download/{latest-version}/dive-cli_{latest-version}_windows_{arch}.tar.gz" -OutFile dive.tar.gz
tar -xvzf dive.tar.gz
dive.exe
Replace {latest-version}
and {arch}
with the appropriate values for the latest version and the architecture you want to support.
Ready to dive in? Let's get started with the installation and setup process.