From 219539351abd02da24ef84735c7af0e61b15bcc1 Mon Sep 17 00:00:00 2001 From: Benjamin Himes Date: Mon, 17 Mar 2025 21:58:43 +0200 Subject: [PATCH] Adds instructions for pip installation for README. --- README.md | 23 ++++++++++++++++++++++- 1 file changed, 22 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 1d8fcc0dd..5d33a2760 100644 --- a/README.md +++ b/README.md @@ -39,7 +39,20 @@ Installation steps are described below. For a full documentation on how to use ` ## Install on macOS and Linux -You can install `btcli` on your local machine directly from source. **Make sure you verify your installation after you install**: +You can install `btcli` on your local machine directly from source, or from from PyPI. **Make sure you verify your installation after you install**: + + +### Install from PyPI + +Run +``` +pip install -U bittensor-cli +``` + +Alternatively, if you prefer to use [uv](https://pypi.org/project/uv/): +``` +uv pip install bittensor-cli +``` ### Install from source @@ -69,6 +82,14 @@ cd btcli pip3 install . ``` +### Also install bittensor (SDK) + +If you prefer to install the btcli alongside the bittensor SDK, you can do this in a single command with + +``` +pip install -U bittensor[cli] +``` + --- ## Install on Windows