You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: content/install-guides/claude-code.md
+38-33Lines changed: 38 additions & 33 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,8 +1,6 @@
1
1
---
2
2
title: Claude Code
3
3
4
-
draft: true
5
-
6
4
author: Pareena Verma
7
5
minutes_to_complete: 10
8
6
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
18
16
19
17
Claude Code works seamlessly on Arm-based systems, including Linux distributions running on Arm servers, macOS on Apple Silicon, and Windows on Arm devices.
20
18
21
-
## What should I do before installing Claude Code?
19
+
## Review prerequisites
22
20
23
21
You need a Claude account to use Claude Code. A Claude.ai account is recommended, though you can also use a Claude Console account.
24
22
25
23
If you don't have a Claude account, visit [Claude.ai](https://claude.ai/) and sign up.
26
24
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.
28
26
29
-
## How do I install Claude Code?
27
+
## Install Claude Code
30
28
31
29
Claude Code is a terminal application that works on macOS, Linux, and Windows systems, including Arm-based platforms.
For other options, please [see the Claude Code setup page](https://code.claude.com/docs/en/setup).
72
70
73
-
###Verify installation
71
+
## Verify installation
74
72
75
73
Confirm Claude Code is installed by checking the version:
76
74
@@ -84,48 +82,52 @@ The output shows the installed version:
84
82
2.1.7 (Claude Code)
85
83
```
86
84
87
-
## How do I authenticate Claude Code?
85
+
## Authenticate Claude Code
88
86
89
87
After installing Claude Code, you need to authenticate:
90
88
91
-
1.Navigate to a project directory:
89
+
Navigate to a project directory:
92
90
93
91
```console
94
92
cd your-project
95
93
```
96
94
97
-
2.Start Claude Code:
95
+
Start Claude Code:
98
96
99
97
```console
100
98
claude
101
99
```
102
100
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.
106
109
107
110
Claude Code automatically saves your authentication credentials for future sessions.
108
111
109
-
## How do I confirm Claude Code is working?
112
+
## Confirm Claude Code is working
110
113
111
-
Test Claude Code by asking it to perform a simple task:
114
+
Test Claude Code by asking it to perform a simple task.
112
115
113
-
1. In your terminal, start Claude Code in a project directory:
116
+
Start Claude Code in a project directory:
114
117
115
118
```console
116
119
claude
117
120
```
118
121
119
-
2.Type a request, for example:
122
+
Type a request, for example:
120
123
121
124
```console
122
125
> Create a Python functionto calculate fibonacci numbers for my Arm machine
123
126
```
124
127
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.
127
129
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.
129
131
130
132
If Claude Code doesn't respond:
131
133
- Verify you're authenticated (run `claude` and check for authentication prompts)
@@ -134,13 +136,17 @@ If Claude Code doesn't respond:
134
136
- Try restarting Claude Code
135
137
136
138
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
138
144
139
145
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.
140
146
141
147
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.
142
148
143
-
### What tools does the Arm MCP Server provide?
149
+
##Arm MCP Server tools
144
150
145
151
The Arm MCP Server includes several tools designed for Arm development:
146
152
@@ -150,7 +156,7 @@ The Arm MCP Server includes several tools designed for Arm development:
150
156
- mca (Machine Code Analyzer): Analyzes assembly code for performance on Arm architectures
### How do I configure the Arm MCP Server with Claude Code?
159
+
##Configure the Arm MCP Server with Claude Code
154
160
155
161
You need Docker running on your system to use the Arm MCP Server. See the [Docker install guide](/install-guides/docker/) for instructions.
156
162
@@ -170,7 +176,7 @@ Configure the Arm MCP Server using the `claude mcp add` command. You can configu
170
176
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.
171
177
{{% /notice %}}
172
178
173
-
#### Configure for a specific project (local scope)
179
+
**Configure for a specific project (local scope)**
174
180
175
181
Navigate to your project directory and add the Arm MCP Server:
176
182
@@ -181,7 +187,7 @@ claude mcp add --transport stdio arm-mcp -- docker run --rm -i --pull=always -v
181
187
182
188
This configuration is stored in `~/.claude.json` under your project's path and is only accessible when working in this directory.
183
189
184
-
#### Configure for all projects (user scope)
190
+
**Configure for all projects (user scope)**
185
191
186
192
To make the Arm MCP Server available across all your projects:
187
193
@@ -191,7 +197,7 @@ claude mcp add --scope user --transport stdio arm-mcp -- docker run --rm -i --pu
191
197
192
198
This configuration is stored in `~/.claude.json` and is accessible from any project directory.
193
199
194
-
#### Configure for team sharing (project scope)
200
+
**Configure for team sharing (project scope)**
195
201
196
202
To share the MCP server configuration with your team via version control:
197
203
@@ -202,7 +208,7 @@ claude mcp add --scope project --transport stdio arm-mcp -- docker run --rm -i -
202
208
203
209
This creates a `.mcp.json` file in your project root that can be committed to version control.
204
210
205
-
### How do I analyze a local codebase with the Arm MCP Server?
211
+
##Analyze a local codebase with the Arm MCP Server
206
212
207
213
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.
208
214
@@ -212,7 +218,7 @@ To analyze a different directory, modify the volume mount in the `docker run` co
212
218
claude mcp add --transport stdio arm-mcp -- docker run --rm -i -v "/Users/username/myproject:/workspace" armlimited/arm-mcp:latest
213
219
```
214
220
215
-
### How do I verify the Arm MCP Server is working?
221
+
##Verify the Arm MCP Server is working
216
222
217
223
List configured MCP servers:
218
224
@@ -248,7 +254,7 @@ or
248
254
249
255
You can also use the `/mcp` command within Claude Code to see the status of all connected MCP servers and their available tools.
250
256
251
-
###Example prompts using the Arm MCP Server
257
+
## Example prompts using the Arm MCP Server
252
258
253
259
Here are some example prompts that use the Arm MCP Server tools:
254
260
@@ -258,7 +264,7 @@ Here are some example prompts that use the Arm MCP Server tools:
258
264
-`Find learning resources about migrating from x86 to Arm`
259
265
-`Analyze this assembly code for performance on Arm processors`
260
266
261
-
### Managing MCP servers
267
+
##Manage MCP servers
262
268
263
269
Remove an MCP server:
264
270
@@ -274,7 +280,7 @@ Check MCP server status within Claude Code:
274
280
> /mcp
275
281
```
276
282
277
-
### Troubleshooting MCP Server connections
283
+
##Troubleshoot MCP Server connections
278
284
279
285
If the Arm MCP Server doesn't connect:
280
286
@@ -292,4 +298,3 @@ If you encounter issues or have questions, reach out to mcpserver@arm.com.
292
298
293
299
Create custom prompts for common tasks in your workflow. Refer to the [Claude Code documentation](https://code.claude.com/docs) for advanced configuration options.
294
300
295
-
You're ready to use Claude Code with the Arm MCP Server to enhance your Arm development workflow.
0 commit comments