gcloud CLI는 각 출시 버전마다 다운로드 가능하며 버전이 지정된 보관 파일을 제공합니다.
버전이 지정된 각 보관 파일의 google-cloud-sdk 디렉터리에 gcloud CLI의 독립적인 설치 파일이 포함되어 있으며, 파일 시스템의 모든 위치로 복사할 수 있습니다.
버전이 지정된 보관 파일에서 설치하기 위한 최상의 사용 방법
버전이 지정된 보관 파일은 대화형 방식이 아닌 특정 버전의 gcloud CLI 설치를 위해 설계되었으며 다음 경우에 유용합니다.
특정 버전의 gcloud CLI가 필요합니다. 예를 들면 다음과 같습니다.
gcloud CLI 또는 다른 gcloud CLI 구성요소로 스크립팅하고 있으며 gcloud CLI 업데이트로 인해 스크립트가 중단되지 않도록 하려 합니다.
CI(지속적 통합) 프로세스 또는 프로덕션 시스템의 일부로 gcloud CLI를 사용하고 있으며 시스템의 요소가 호환되도록 종속 항목을 관리하려 합니다.
[[["이해하기 쉬움","easyToUnderstand","thumb-up"],["문제가 해결됨","solvedMyProblem","thumb-up"],["기타","otherUp","thumb-up"]],[["이해하기 어려움","hardToUnderstand","thumb-down"],["잘못된 정보 또는 샘플 코드","incorrectInformationOrSampleCode","thumb-down"],["필요한 정보/샘플이 없음","missingTheInformationSamplesINeed","thumb-down"],["번역 문제","translationIssue","thumb-down"],["기타","otherDown","thumb-down"]],["최종 업데이트: 2025-09-04(UTC)"],[],[],null,["# Installing from versioned archives\n\nThe gcloud CLI provides downloadable, versioned archives for each release.\nEach versioned archive contains a self-contained installation of the\ngcloud CLI in a directory named `google-cloud-sdk` that can be copied\nto any location on your file system.\n\nBest uses for installing from versioned archives\n------------------------------------------------\n\nVersioned archives are designed for non-interactive installation of specific\nversions of the gcloud CLI and are useful when:\n\n- You require a specific version of the gcloud CLI. For example:\n\n - You're scripting with the gcloud CLI or another gcloud CLI component and want to make sure that your scripts don't break as the result of a gcloud CLI update.\n - You're using the gcloud CLI as part of a CI (continuous integration) process or production system where you want to control your dependencies in order to ensure compatibility between parts of the system.\n - You're performing automated deployments of the gcloud CLI to many machines that must be in sync.\n - You're behind a proxy or firewall that requires [additional configuration](/sdk/docs/proxy-settings) to be able to access the internet.\n- You don't want to perform an interactive installation.\n\nInstallation instructions\n-------------------------\n\nTo install the latest release of the gcloud CLI from a versioned archive:\n\n1. Check which version (64-bit or 32-bit) your OS is running on.\n\n - Linux / macOS: Run `getconf LONG_BIT` from your command line\n - Windows: **Control Panel** \\\u003e **System** \\\u003e **System Type**\n\n Additionally, for macOS, to check your machine hardware name (x86_64,\n arm64, or x86), run `uname -m`.\n2. Download the appropriate archive compatible with your version:\n\n3. Extract the contents of the file to any location on your file system.\n Preferably, this is your Home folder.\n\n4. To add the gcloud CLI tools to your path, run the install script\n from the root of the folder you extracted. Running this script also\n generates instructions to enable command completion in your `bash` shell\n (Linux and macOS only) and enable usage reporting.\n\n - On Linux or macOS:\n\n ./google-cloud-sdk/install.sh\n\n To run the install script with screen reader mode turned on: \n\n ./google-cloud-sdk/install.sh --screen-reader=true\n\n - On Windows:\n\n .\\google-cloud-sdk\\install.bat\n\n Run `install.sh --help` or `install.bat --help` for a list of flags you\n can pass to this script, including those that can run the installation\n non-interactively.\n | **Note:** If you answered `n` when the installer prompted asking to modify your profile to update your `PATH` and enable command completion, you can still set up your profile to do so (to ensure the gcloud CLI works correctly) by doing the following:\n | - Bash shell\n | - Source `/path/to/gcloud/path.bash.inc` in your profile to add the gcloud CLI tools to your `PATH`.\n | - Source `/path/to/gcloud/completion.bash.inc` in your profile to enable command completion for the gcloud CLI.\n | - Zsh shell\n | - Source `/path/to/gcloud/path.zsh.inc` in your profile to add the gcloud CLI command line tools to your `PATH`.\n | - Source `/path/to/gcloud/completion.zsh.inc` in your profile to enable command completion for the gcloud CLI.\n | - Fish shell\n | - Source `/path/to/gcloud/path.fish.inc` in your profile to add the gcloud CLI command line tools to your `PATH`.\n5. To initialize the gcloud CLI, run\n [`gcloud init`](/sdk/gcloud/reference/init):\n\n - For Linux or macOS:\n\n ./google-cloud-sdk/bin/gcloud init\n\n - For Windows:\n\n .\\google-cloud-sdk\\bin\\gcloud init\n\nPrevious versions\n-----------------\n\nPrevious versions of the gcloud CLI are available in the\n[download archive](https://console.cloud.google.com/storage/browser/cloud-sdk-release)\nin Cloud Storage. They are directly accessible through\n`https://storage.googleapis.com/cloud-sdk-release/\u003carchive_name\u003e`.\n\nTry it for yourself\n-------------------\n\n\nIf you're new to Google Cloud, create an account to evaluate how our\nproducts perform in real-world scenarios. New customers also get $300 in\nfree credits to run, test, and deploy workloads.\n[Get started for free](https://console.cloud.google.com/freetrial)"]]