A Bash script to automate the installation and setup of Google Cloud SDK on Termux (Android). This script simplifies the process of installing GCloud on mobile devices, making it easier for developers to manage their cloud resources on the go.
- One-Command Installation: Install GCloud SDK with a single command.
- Automatic Dependency Handling: Installs all required dependencies.
- Cross-Platform Support: Works on
aarch64
andarm
architectures. - Environment Configuration: Automatically sets up environment variables for seamless usage.
- Error Handling: Provides clear error messages and exits gracefully on failures.
- Cleanup: Removes temporary files after installation.
- Termux: Install Termux from F-Droid.
- Internet Connection: Required for downloading packages and the GCloud SDK.
Run the following command in Termux to install the Google Cloud SDK:
curl -sS https://raw.githubusercontent.com/notsopreety/gcloud-termux/main/install | bash
The script will automatically:
- Update your system packages.
- Install all required dependencies.
- Download and install the Google Cloud SDK.
- Configure your environment for GCloud.
After installation, you can start using the Google Cloud SDK by running:
gcloud init
This will guide you through authenticating and configuring your Google Cloud account.
Example of the installation process.
To completely remove Google Cloud SDK from Termux, run the following command:
curl -sS https://raw.githubusercontent.com/notsopreety/gcloud-termux/main/uninstall | bash
Contributions are welcome! If you find any issues or have suggestions for improvement, please open an issue or submit a pull request.
- Fork the repository.
- Create a new branch (
git checkout -b feature/YourFeature
). - Commit your changes (
git commit -m 'Add some feature'
). - Push to the branch (
git push origin feature/YourFeature
). - Open a pull request.
This project is licensed under the MIT License. See the LICENSE file for details.
Enjoy using GCloud on Termux! 🎉