mirror of
https://github.com/c9s/bbgo.git
synced 2024-11-25 16:25:16 +00:00
14 lines
276 B
Bash
Executable File
14 lines
276 B
Bash
Executable File
#!/bin/bash
|
|
osf=$(uname | tr '[:upper:]' '[:lower:]')
|
|
version=v1.6.0
|
|
|
|
if [[ -n $1 ]] ; then
|
|
version=$1
|
|
fi
|
|
|
|
echo "downloading bbgo $version"
|
|
curl -L -o bbgo https://github.com/c9s/bbgo/releases/download/$version/bbgo-$osf
|
|
chmod +x bbgo
|
|
|
|
echo "bbgo is downloaded at ./bbgo"
|