Cargo: command not found

I started the setup first time and received an error while starting testnet

./scripts/cli/start_cli_testnet.sh: line 25: cargo: command not found

now working on troubleshooting. checking rustup installation…

here are steps to resolve

  1. install rustup

brew install rustup

  1. set it up

rustup-init