Installation

There are three primary ways to install Bittensor on your local machine:

Installing from script.

This is the easiest method and is recommended if you are new to coding as it will pre-install the requirements like python if they are not already present on your machine. To run the installer, simply paste the following into your terminal.

1/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/opentensor/bittensor/master/scripts/install.sh)"

Installing with pip

1pip3 install bittensor

Installing from source

1git clone https://github.com/opentensor/bittensor.git
2$ python3 -m pip install -e bittensor/

Once installed, you can verify your installation using the Bittensor Command Line Interface with btcli --help and/or check the installation in python.

1import bittensor as bt
2print( bt.__version__ )