Accumulate
Search…
CLI Setup
The Accumulate CLI (Command Line Interface) installation is the fastest way to get Accumulate running locally. The following guide is the installation option most recommended by Accumulate.

Preparing the installation

The CLI installation guide needs two requirements.
  • GO language 1.18 version
  • Terminal or any command line interface of your choice

Step 1: Clone accumulate

1
git clone https://gitlab.com/AccumulateNetwork/accumulate.git
Copied!
The accumulaterepository is also available on Github: https://github.com/AccumulateNetwork/accumulate.git

Step 2: Locate accumulate folder

1
cd accumulate
Copied!

Step 3: Checkout a branch (optional)

Depending on the network you are connecting to, you may need to checkout a different branch. For best results, the CLI version must match the API version. Please see Networks for the list of available networks and which branch to checkout.
In your terminal type the below command to switch to a different branch.
1
git checkout ${branch_name}
Copied!

Step 4: Build Accumulate

Mac/Linux
1
make accumulate
Copied!

Windows

1
go build ./cmd/accumulate
Copied!
Once you run these commands, an accumulate binary file should appear in the root directory accumulate that enables the CLI Commands.

Step 5: Start the CLI Tool

To test that the Accumulate is installed correctly, run the below command without arguments.
On Mac / Linux / Windows
1
./accumulate
Copied!