Installing Chasm Inference Scout via CLI
Introduction
For advanced users and those looking to automate their setup process, Chasm Inference Scout can be installed using the Command Line Interface (CLI). This method provides greater flexibility and control over the installation process.
The CLI installation relies on Homebrew, a popular package manager for macOS and Linux systems. Homebrew simplifies the process of installing, updating, and managing software packages, making it an ideal tool for our Scout setup.
This guide will walk you through the step-by-step process of installing Homebrew (if you haven't already) and then using it to install the Chasm Inference Scout. Whether you're setting up multiple instances or integrating the installation into your automated workflows, this CLI method will prove invaluable.
Installing Homebrew on Ubuntu
Prerequisites
Ubuntu operating system
Sudo privileges
Docker installed: Follow the Docker Installation Guide
Installation Steps
If you're using DigitalOcean, you probably will want to follow the guide below
1. Run the Installation Script
Open a terminal and run the following command to start the Homebrew installation:
2. Configure the Environment
After successful installation, add Homebrew to your PATH by appending the following to your .bashrc
file:
3. Apply the Changes
Run the following command to apply the changes to the current session:
4. Install Build Essentials
Install the necessary build tools:
Common Errors and Solutions
If you see the following error:
Solution: If you encounter this error, you'll need to create a new user and install Homebrew using that account. Follow these steps:
Create a new user:
Switch to the new user and run the installation script:
Configure the environment for the new user:
Apply the changes:
Install build essentials:
Installing Chasm Inference Scout
Once you have Homebrew set up on your system, you can proceed with the installation of Chasm Inference Scout using the following commands:
1. Add the Chasm Network Tap
First, we need to add the Chasm Network tap to Homebrew. A tap is a third-party repository for Homebrew formulas. Run the following command:
This command tells Homebrew to track the repository of Chasm Network, allowing you to install their custom packages.
2. Install Chasm CLI
After adding the tap, you can install the Chasm CLI by running:
This command will download and install the Chasm Inference Scout CLI tool on your system.
Running Chasm CLI
After successfully installing Chasm CLI, you can start using it by simply running the chasm
command in your terminal. This command serves as the entry point for all Chasm-related operations.
To setup a new scout, select the following in the CLI:
Choose an option: Setup new scout
You'll be able to select the NFT to set up, and the rest of steps are similar to the regular setup guide.
Note that the 'View My Scout' functionality is still under work progress
Last updated