/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/bytebase/install/main/install.sh)"
It will install the latest version of bytebase.
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/bytebase/install/main/uninstall.sh)"
If you want to run the bytebase uninstaller non-interactively, you can use:
NONINTERACTIVE=1 /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/bytebase/install/main/uninstall.sh)"