Skip to content

Commit e18105a

Browse files
Refine installation guide for Claude Code: update headings, remove draft status, and enhance clarity in prerequisites and authentication sections.
1 parent 5e5d31d commit e18105a

1 file changed

Lines changed: 38 additions & 33 deletions

File tree

content/install-guides/claude-code.md

Lines changed: 38 additions & 33 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,6 @@
11
---
22
title: Claude Code
33

4-
draft: true
5-
64
author: Pareena Verma
75
minutes_to_complete: 10
86
official_docs: https://code.claude.com/docs
@@ -18,15 +16,15 @@ Claude Code is an AI-powered command-line tool that helps you build features, de
1816

1917
Claude Code works seamlessly on Arm-based systems, including Linux distributions running on Arm servers, macOS on Apple Silicon, and Windows on Arm devices.
2018

21-
## What should I do before installing Claude Code?
19+
## Review prerequisites
2220

2321
You need a Claude account to use Claude Code. A Claude.ai account is recommended, though you can also use a Claude Console account.
2422

2523
If you don't have a Claude account, visit [Claude.ai](https://claude.ai/) and sign up.
2624

27-
Claude Code is only available for paid Pro and Max accounts, if not using API credits. Visit [Claude pricing](https://www.anthropic.com/pricing) to review the options.
25+
Claude Code is only available for paid Pro and Max accounts, if not using API credits. Visit [Claude Pricing](https://www.anthropic.com/pricing) to review the options.
2826

29-
## How do I install Claude Code?
27+
## Install Claude Code
3028

3129
Claude Code is a terminal application that works on macOS, Linux, and Windows systems, including Arm-based platforms.
3230

@@ -46,7 +44,7 @@ Add Claude Code to your PATH:
4644
echo 'export PATH="$HOME/.local/bin:$PATH"' >> ~/.bashrc && source ~/.bashrc
4745
```
4846

49-
### Install on macOS (Apple Silicon)
47+
## Install on macOS (Apple Silicon)
5048

5149
On macOS, you can use the installation script:
5250

@@ -60,7 +58,7 @@ Or install using Homebrew:
6058
brew install --cask claude-code
6159
```
6260

63-
### Install on Windows on Arm
61+
## Install on Windows on Arm
6462

6563
On Windows systems, including Windows on Arm, run the following PowerShell command:
6664

@@ -70,7 +68,7 @@ irm https://claude.ai/install.ps1 | iex
7068

7169
For other options, please [see the Claude Code setup page](https://code.claude.com/docs/en/setup).
7270

73-
### Verify installation
71+
## Verify installation
7472

7573
Confirm Claude Code is installed by checking the version:
7674

@@ -84,48 +82,52 @@ The output shows the installed version:
8482
2.1.7 (Claude Code)
8583
```
8684

87-
## How do I authenticate Claude Code?
85+
## Authenticate Claude Code
8886

8987
After installing Claude Code, you need to authenticate:
9088

91-
1. Navigate to a project directory:
89+
Navigate to a project directory:
9290

9391
```console
9492
cd your-project
9593
```
9694

97-
2. Start Claude Code:
95+
Start Claude Code:
9896

9997
```console
10098
claude
10199
```
102100

103-
3. Choose your configuration options from the wizard (dark mode, etc).
104-
4. On first use, Claude Code prompts you to log in through your browser if you are using your Claude account. If you are on a remote machine, Claude Code will give you a link to paste into a local browser, which will then provide you with a code to paste into Claude Code.
105-
5. Accept the acknowledgements in Claude Code and the application will be ready to use.
101+
Configure your preferences when prompted (dark mode, editor settings, etc.).
102+
103+
On first use, Claude Code prompts you to authenticate:
104+
105+
- If using Claude.ai, authenticate through your browser
106+
- If on a remote machine, paste the provided link into a local browser, then enter the authentication code in Claude Code
107+
108+
Accept the acknowledgements to complete setup.
106109

107110
Claude Code automatically saves your authentication credentials for future sessions.
108111

109-
## How do I confirm Claude Code is working?
112+
## Confirm Claude Code is working
110113

111-
Test Claude Code by asking it to perform a simple task:
114+
Test Claude Code by asking it to perform a simple task.
112115

113-
1. In your terminal, start Claude Code in a project directory:
116+
Start Claude Code in a project directory:
114117

115118
```console
116119
claude
117120
```
118121

119-
2. Type a request, for example:
122+
Type a request, for example:
120123

121124
```console
122125
> Create a Python function to calculate fibonacci numbers for my Arm machine
123126
```
124127

125-
3. Claude Code analyzes your request, creates a plan, and generates the code
126-
4. Review the proposed changes before accepting them
128+
Claude Code analyzes your request, creates a plan, and generates the code.
127129

128-
Claude Code shows you a preview of changes before applying them, giving you control over what gets modified in your codebase.
130+
Review the proposed changes before accepting them. Claude Code shows you a preview of changes before applying them, giving you control over what gets modified in your codebase.
129131

130132
If Claude Code doesn't respond:
131133
- Verify you're authenticated (run `claude` and check for authentication prompts)
@@ -134,13 +136,17 @@ If Claude Code doesn't respond:
134136
- Try restarting Claude Code
135137

136138

137-
## How do I use MCP Servers with Claude Code?
139+
You’re now ready to use Claude Code.
140+
{{% notice Note %}} The sections below are optional and cover advanced integrations, including using MCP servers with Claude Code on Arm.{{% /notice %}}
141+
142+
143+
## Use MCP Servers with Claude Code
138144

139145
Model Context Protocol (MCP) Servers extend Claude Code's capabilities by providing specialized tools and knowledge bases. Claude Code can connect to MCP servers to access domain-specific expertise and functionality.
140146

141147
The Arm MCP Server provides AI assistants with tools and knowledge for Arm architecture development, migration, and optimization. This is particularly useful when working on Arm-based systems.
142148

143-
### What tools does the Arm MCP Server provide?
149+
## Arm MCP Server tools
144150

145151
The Arm MCP Server includes several tools designed for Arm development:
146152

@@ -150,7 +156,7 @@ The Arm MCP Server includes several tools designed for Arm development:
150156
- mca (Machine Code Analyzer): Analyzes assembly code for performance on Arm architectures
151157
- check_image: Verifies Docker image architecture compatibility
152158

153-
### How do I configure the Arm MCP Server with Claude Code?
159+
## Configure the Arm MCP Server with Claude Code
154160

155161
You need Docker running on your system to use the Arm MCP Server. See the [Docker install guide](/install-guides/docker/) for instructions.
156162

@@ -170,7 +176,7 @@ Configure the Arm MCP Server using the `claude mcp add` command. You can configu
170176
Choose the appropriate scope based on your needs. Project scope is recommended for team collaboration, while user scope is useful for personal tools you use across multiple projects.
171177
{{% /notice %}}
172178

173-
#### Configure for a specific project (local scope)
179+
**Configure for a specific project (local scope)**
174180

175181
Navigate to your project directory and add the Arm MCP Server:
176182

@@ -181,7 +187,7 @@ claude mcp add --transport stdio arm-mcp -- docker run --rm -i --pull=always -v
181187

182188
This configuration is stored in `~/.claude.json` under your project's path and is only accessible when working in this directory.
183189

184-
#### Configure for all projects (user scope)
190+
**Configure for all projects (user scope)**
185191

186192
To make the Arm MCP Server available across all your projects:
187193

@@ -191,7 +197,7 @@ claude mcp add --scope user --transport stdio arm-mcp -- docker run --rm -i --pu
191197

192198
This configuration is stored in `~/.claude.json` and is accessible from any project directory.
193199

194-
#### Configure for team sharing (project scope)
200+
**Configure for team sharing (project scope)**
195201

196202
To share the MCP server configuration with your team via version control:
197203

@@ -202,7 +208,7 @@ claude mcp add --scope project --transport stdio arm-mcp -- docker run --rm -i -
202208

203209
This creates a `.mcp.json` file in your project root that can be committed to version control.
204210

205-
### How do I analyze a local codebase with the Arm MCP Server?
211+
## Analyze a local codebase with the Arm MCP Server
206212

207213
The Arm MCP Server automatically mounts your current working directory to the `/workspace` folder inside the Docker container when you use the configuration commands shown above.
208214

@@ -212,7 +218,7 @@ To analyze a different directory, modify the volume mount in the `docker run` co
212218
claude mcp add --transport stdio arm-mcp -- docker run --rm -i -v "/Users/username/myproject:/workspace" armlimited/arm-mcp:latest
213219
```
214220

215-
### How do I verify the Arm MCP Server is working?
221+
## Verify the Arm MCP Server is working
216222

217223
List configured MCP servers:
218224

@@ -248,7 +254,7 @@ or
248254

249255
You can also use the `/mcp` command within Claude Code to see the status of all connected MCP servers and their available tools.
250256

251-
### Example prompts using the Arm MCP Server
257+
## Example prompts using the Arm MCP Server
252258

253259
Here are some example prompts that use the Arm MCP Server tools:
254260

@@ -258,7 +264,7 @@ Here are some example prompts that use the Arm MCP Server tools:
258264
- `Find learning resources about migrating from x86 to Arm`
259265
- `Analyze this assembly code for performance on Arm processors`
260266

261-
### Managing MCP servers
267+
## Manage MCP servers
262268

263269
Remove an MCP server:
264270

@@ -274,7 +280,7 @@ Check MCP server status within Claude Code:
274280
> /mcp
275281
```
276282

277-
### Troubleshooting MCP Server connections
283+
## Troubleshoot MCP Server connections
278284

279285
If the Arm MCP Server doesn't connect:
280286

@@ -292,4 +298,3 @@ If you encounter issues or have questions, reach out to mcpserver@arm.com.
292298

293299
Create custom prompts for common tasks in your workflow. Refer to the [Claude Code documentation](https://code.claude.com/docs) for advanced configuration options.
294300

295-
You're ready to use Claude Code with the Arm MCP Server to enhance your Arm development workflow.

0 commit comments

Comments
 (0)