Skip to content

Commit 3106ee7

Browse files
authored
Merge pull request #2708 from opentensor/feat/thewhaleking/install-btcli-from-install-sh
Install btcli from install sh
2 parents bc3d43b + 8be7bc8 commit 3106ee7

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

scripts/install.sh

+3-1
Original file line numberDiff line numberDiff line change
@@ -105,6 +105,7 @@ linux_install_bittensor() {
105105
git clone https://github.com/opentensor/bittensor.git ~/.bittensor/bittensor/ 2> /dev/null || (cd ~/.bittensor/bittensor/ ; git fetch origin master ; git checkout master ; git pull --ff-only ; git reset --hard ; git clean -xdf)
106106
ohai "Installing bittensor"
107107
$python -m pip install -e ~/.bittensor/bittensor/
108+
$python -m pip install -U bittensor-cli
108109
exit_on_error $?
109110
}
110111

@@ -163,10 +164,11 @@ mac_update_pip() {
163164
}
164165

165166
mac_install_bittensor() {
166-
ohai "Cloning bittensor@text_prompting into ~/.bittensor/bittensor"
167+
ohai "Cloning bittensor into ~/.bittensor/bittensor"
167168
git clone https://github.com/opentensor/bittensor.git ~/.bittensor/bittensor/ 2> /dev/null || (cd ~/.bittensor/bittensor/ ; git fetch origin master ; git checkout master ; git pull --ff-only ; git reset --hard; git clean -xdf)
168169
ohai "Installing bittensor"
169170
$python -m pip install -e ~/.bittensor/bittensor/
171+
$python -m pip install -U bittensor-cli
170172
exit_on_error $?
171173
deactivate
172174
}

0 commit comments

Comments
 (0)