Closed qmhlan closed 7 months ago
when i use command:ninjabot download --pair BTCUSDT --timeframe 1d --days 30 --output ./btc-1d.csv to execute, it errors : ninjabot command not found , i already exec go install github.com/rodrigo-brito/ninjabot/cmd/ninjabot@latest before, why?
ninjabot download --pair BTCUSDT --timeframe 1d --days 30 --output ./btc-1d.csv
go install github.com/rodrigo-brito/ninjabot/cmd/ninjabot@latest
Hi, @qmhlan You should point PATH to $GOPATH/bin (go-install is install app to $GOPATH/bin).
export GOPATH=$HOME/go export PATH=$PATH:$GOROOT/bin:$GOPATH/bin
thanks
when i use command:
ninjabot download --pair BTCUSDT --timeframe 1d --days 30 --output ./btc-1d.csv
to execute, it errors : ninjabot command not found , i already execgo install github.com/rodrigo-brito/ninjabot/cmd/ninjabot@latest
before, why?