diff --git a/scripts/install/install-risingwave.sh b/scripts/install/install-risingwave.sh index 7547f574ebe4c..953a9b96b1c94 100755 --- a/scripts/install/install-risingwave.sh +++ b/scripts/install/install-risingwave.sh @@ -39,7 +39,11 @@ if [[ "${USE_BREW}" -eq 1 ]]; then echo "Successfully installed RisingWave using Homebrew." echo echo "You can run it as:" - echo " risingwave standalone" + echo " risingwave" + echo + echo "In a separate terminal, you can attach a psql client to the standalone server using:" + echo " psql -h localhost -p 4566 -d dev -U root" + echo exit 0 fi @@ -51,4 +55,12 @@ curl -L "${URL}" | tar -zx || exit 1 chmod +x risingwave echo echo "Successfully downloaded the RisingWave binary, you can run it as:" -echo " ./risingwave standalone" \ No newline at end of file +echo " ./risingwave" +echo +echo "In a separate terminal, you can attach a psql client to the standalone server using:" +echo " psql -h localhost -p 4566 -d dev -U root" +echo +echo "To start a fresh cluster, you can just delete the data directories:" +echo " rm -r ~/.risingwave/state_store" +echo " rm -r ~/.risingwave/meta_store" +echo