The cloud SDK is self-contained, so the google-cloud-sdk directory can usually be moved to where you like. The only thing that is configured outside this directory is your ~ / .bash_profile file (only if you said yes during the installation process), which adds the SDK to your PATH and sets the completion of the command tab. If you had an installer update, perhaps the easiest task is to simply completely remove the google-cloud-sdk directory and reinstall it in the right place. The installer will re-update your ~ / .bash_profile file with the new location.
source share