이 페이지에서는 최신 Android CLI 출시의 다운로드 링크를 제공합니다. 탭을 사용하여 플랫폼을 선택하고 드롭다운을 사용하여 설치 방법을 선택합니다. 가장 빠르게 다운로드하고 설치하려면 터미널에서 운영체제에 맞는 curl 명령어를 실행하세요.
Linux
-
curl | bash를 사용하여 Linux용 다운로드
로컬 설치
사용자 계정에만 CLI를 설치합니다. 로컬 설치에는 승격된 권한이 필요하지 않습니다.
curl -fsSL https://dl.google.com/android/cli/latest/linux_x86_64/install.sh | bash
전역 설치
이 머신의 모든 사용자에 대해 CLI를 설치합니다. 전역 설치에는 sudo 또는 관리자 권한이 필요합니다.
curl -fsSL https://dl.google.com/android/cli/latest/linux_x86_64/install_root.sh | bash
-
apt-get을 사용하여 Linux용 다운로드
저장소를 구성하고 패키지를 설치합니다.
curl -fsSL https://dl.google.com/linux/linux_signing_key.pub | sudo tee /etc/apt/keyrings/google.asc >/dev/null sudo sh -c 'echo "deb [arch=amd64 signed-by=/etc/apt/keyrings/google.asc] http://dl.google.com/android/cli/latest/debian/ stable main" > /etc/apt/sources.list.d/android-cli.list' sudo apt-get update sudo apt-get install android-cli
-
Linux용 직접 다운로드
Apple 칩이 사용된 Mac
-
curl | bash를 사용하여 Apple 칩이 사용된 Mac용 다운로드
로컬 설치
사용자 계정에만 CLI를 설치합니다. 로컬 설치에는 승격된 권한이 필요하지 않습니다.
curl -fsSL https://dl.google.com/android/cli/latest/darwin_arm64/install.sh | bash
전역 설치
이 머신의 모든 사용자에 대해 CLI를 설치합니다. 전역 설치에는 sudo 또는 관리자 권한이 필요합니다.
curl -fsSL https://dl.google.com/android/cli/latest/darwin_arm64/install_root.sh | bash
-
Homebrew를 사용하여 Apple 칩이 사용된 Mac용 다운로드
Google에서는 Homebrew 탭을 통해 Android CLI를 배포합니다. 계속하기 전에 Homebrew가 설치되어 있는지 확인하세요.
brew tap android/tap brew install android-cli
-
Apple 칩이 사용된 Mac용 직접 다운로드
Intel 칩이 사용된 Mac
-
curl | bash를 사용하여 Intel 칩이 사용된 Mac용 다운로드
로컬 설치
사용자 계정에만 CLI를 설치합니다. 로컬 설치에는 승격된 권한이 필요하지 않습니다.
curl -fsSL https://dl.google.com/android/cli/latest/darwin_x86_64/install.sh | bash
전역 설치
이 머신의 모든 사용자에 대해 CLI를 설치합니다. 전역 설치에는 sudo 또는 관리자 권한이 필요합니다.
curl -fsSL https://dl.google.com/android/cli/latest/darwin_x86_64/install_root.sh | bash
-
Homebrew를 사용하여 Intel 칩이 사용된 Mac용 다운로드
Google에서는 Homebrew 탭을 통해 Android CLI를 배포합니다. 계속하기 전에 Homebrew가 설치되어 있는지 확인하세요.
brew tap android/tap brew install android-cli
-
Intel 칩이 사용된 Mac용 직접 다운로드
Windows
-
curl | cmd를 사용하여 Windows용 다운로드
로컬 설치
사용자 계정에만 CLI를 설치합니다. 로컬 설치에는 승격된 권한이 필요하지 않습니다.
curl.exe -fsSL https://dl.google.com/android/cli/latest/windows_x86_64/install.cmd -o "%TEMP%\i.cmd" && "%TEMP%\i.cmd"
전역 설치
이 머신의 모든 사용자에 대해 CLI를 설치합니다. 전역 설치에는 sudo 또는 관리자 권한이 필요합니다.
curl.exe -fsSL https://dl.google.com/android/cli/latest/windows_x86_64/install_admin.cmd -o "%TEMP%\i.cmd" && "%TEMP%\i.cmd"
-
winget을 사용하여 Windows용 다운로드
winget install --id Google.AndroidCLI
-
Windows용 직접 다운로드