If you’re trying to scaffold a Cosmos SDK project using Starport but you get the following error: ‘unknown command “scaffold” for “starport”‘, it means that you need Starport version 0.17 or higher and that you need to upgrade it.
You can upgrade Starport using the following command:
curl https://get.starport.network/starport@v0.17.0! | bash
If you get a ‘Permission denied’ error when it tries to move the installation to the bin folder, there’s a workaround for that.