Skip to content

Commit 877e5d4

Browse files
committed
Add Gemini install guide with Arm MCP server.
1 parent 5045a9d commit 877e5d4

File tree

1 file changed

+11
-17
lines changed

1 file changed

+11
-17
lines changed

content/install-guides/gemini.md

Lines changed: 11 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
title: Install Gemini CLI on macOS and Arm Linux
2+
title: Gemini CLI
33

44
author: Jason Andrews
55
minutes_to_complete: 15
@@ -158,7 +158,7 @@ Before installing Gemini CLI, install prerequisite packages and Node.js.
158158

159159
Install the required packages on Ubuntu/Debian systems:
160160

161-
```bash { target="ubuntu:latest" }
161+
```bash
162162
sudo apt update && sudo apt install -y curl
163163
```
164164

@@ -170,19 +170,13 @@ Gemini CLI requires Node.js version 20 or higher. The easiest way to install Nod
170170

171171
Download and run the Node.js 20.x setup script:
172172

173-
```bash { target="ubuntu:latest" }
173+
```bash
174174
curl -fsSL https://deb.nodesource.com/setup_20.x | sudo -E bash -
175175
```
176176

177-
Install Node.js:
178-
179-
```bash { target="ubuntu:latest" }
180-
sudo apt install -y nodejs
181-
```
182-
183177
Verify Node.js is installed correctly:
184178

185-
```bash { target="ubuntu:latest" }
179+
```bash
186180
node --version
187181
```
188182

@@ -194,7 +188,7 @@ v20.19.4
194188

195189
Verify npm is available:
196190

197-
```bash { target="ubuntu:latest" }
191+
```bash
198192
npm --version
199193
```
200194

@@ -210,7 +204,7 @@ With Node.js installed, install Gemini CLI globally using npm.
210204

211205
Install Gemini CLI globally:
212206

213-
```bash { target="ubuntu:latest" }
207+
```bash
214208
sudo npm install -g @google/gemini-cli
215209
```
216210

@@ -222,7 +216,7 @@ You now have Gemini CLI installed on your Arm Linux system.
222216

223217
Confirm the CLI is available by checking the version:
224218

225-
```bash { target="ubuntu:latest" }
219+
```bash
226220
gemini --version
227221
```
228222

@@ -236,7 +230,7 @@ The output shows the version:
236230

237231
To print the available commands and options, use the `--help` flag:
238232

239-
```bash { target="ubuntu:latest" }
233+
```bash
240234
gemini --help
241235
```
242236

@@ -315,13 +309,13 @@ Verify that Gemini is loading your context file by starting a chat session and a
315309

316310
Start Gemini CLI:
317311

318-
```bash
312+
```console
319313
gemini
320314
```
321315

322316
Ask a question that should trigger context-aware responses:
323317

324-
```
318+
```output
325319
How do I install gcloud?
326320
```
327321

@@ -339,7 +333,7 @@ First, ensure Docker is installed and running on your system. Install Docker by
339333

340334
Pull the Arm MCP server Docker image:
341335

342-
```bash
336+
```console
343337
docker pull armlimited/arm-mcp:latest
344338
```
345339

0 commit comments

Comments
 (0)