Skip to content

Commit 2916ff2

Browse files
authored
Update install-circleci-cli.md
1 parent d4fa262 commit 2916ff2

1 file changed

Lines changed: 16 additions & 10 deletions

File tree

content/learning-paths/servers-and-cloud-computing/circleci-gcp/install-circleci-cli.md

Lines changed: 16 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -7,46 +7,52 @@ layout: learningpathall
77
---
88

99
## Install CircleCI CLI on GCP VM
10-
This guide explains how to install the **CircleCI Command Line Interface (CLI)** on a **GCP SUSE Arm64 virtual machine**.
11-
The CLI allows you to interact with CircleCI directly from your terminal, such as to validate configuration files, run jobs locally, or manage runners.
10+
This section explains how to install the CircleCI Command Line Interface (CLI) on a SUSE Linux (Arm64) virtual machine running on Google Cloud C4A (Axion). The CLI allows you to interact with CircleCI directly from your terminal, to validate configuration files, run jobs locally, or manage runners.
1211

1312
### Install Required Packages
1413

15-
Add OpenSUSE Leap repository:
14+
Before installing the CLI, make sure your SUSE environment has the necessary repositories and development tools. Add the openSUSE Leap repository:
15+
1616
```bash
1717
sudo zypper addrepo https://download.opensuse.org/distribution/leap/15.5/repo/oss/ openSUSE-Leap-15.5-OSS
1818
```
1919

20-
Refresh repositories:
20+
Refresh package repositories:
2121
```bash
2222
sudo zypper refresh
2323
```
24+
This updates the local metadata so that zypper recognizes the latest available packages and dependencies.
25+
2426
# Install git
2527
Before installing the CircleCI CLI, make sure your system has the basic tools required for downloading and extracting files.
2628

2729
```console
28-
sudo zypper install curl tar gzip coreutils gpg git-core
30+
sudo zypper install -y curl tar gzip coreutils gpg git-core
2931
```
32+
Once Git and the required tools are installed, you’re ready to download and configure the CircleCI CLI binary for Arm64.
3033

3134
## Download and Extract the CircleCI CLI
32-
Now download the CircleCI CLI binary for Linux Arm64 and extract it.
35+
Download the CircleCI CLI binary for Linux Arm64 and extract it.
3336

3437
```console
3538
curl -fLSs https://github.com/CircleCI-Public/circleci-cli/releases/download/v0.1.33494/circleci-cli_0.1.33494_linux_arm64.tar.gz | tar xz
3639
sudo mv circleci-cli_0.1.33494_linux_arm64/circleci /usr/local/bin/
3740
```
41+
Explanation of the commands:
42+
3843
- The `curl` command downloads the `.tar.gz` archive from the official CircleCI GitHub release page.
3944
- The `| tar xz` part extracts the downloaded file directly without saving it separately.
40-
- After extraction, you’ll see a new folder named `circleci-cli_0.1.33494_linux_arm64` in your current directory.
45+
46+
After extraction, you’ll see a new folder named `circleci-cli_0.1.33494_linux_arm64` in your current directory.
4147

4248
### Verify the Installation
43-
Finally, verify that the CLI is installed correctly by checking its version.
49+
Check that the CircleCI CLI is installed and executable:
4450

4551
```console
4652
circleci version
4753
```
48-
You should see an output similar to:
54+
You should see output similar to:
4955
```output
5056
0.1.33494+7cc6570 (release)
5157
```
52-
If you see similar version output, the installation was successful!
58+
The CircleCI CLI is now installed and running natively on your SUSE Arm64 VM (Google Cloud C4A).

0 commit comments

Comments
 (0)