Google Cloud CLI — Deploy to GCP from Terminal
Control all Google Cloud services — App Engine, Cloud Run, Firebase, and more:
Setup:
```cmd
winget install Google.CloudSDK
gcloud init
gcloud auth application-default login
`
Cloud Run (Serverless Containers):
```cmd
gcloud run deploy nextsem-api ^
--source . ^
--region us-central1 ^
--allow-unauthenticated ^
--port 3000
`
Firebase + gcloud Combined:
```cmd
firebase login
firebase use bca-nextsem
npm run build
firebase deploy --only hosting
`
Useful gcloud Commands:
```cmd
gcloud projects list # List GCP projects
gcloud config set project my-project # Switch project
gcloud run services list # List Cloud Run services
gcloud logs read --limit 50 # View recent logs
gcloud sql instances list # List Cloud SQL databases
`
Google Cloud powers Google Search, YouTube, and millions of apps — learn their CLI! 🔵
