Set Up Claude Code¶
Claude Code is Anthropic's official command-line interface for Claude. It brings an AI coding assistant directly into the terminal, desktop, or IDE, enabling researchers to generate code, explain errors, and automate repetitive tasks without leaving their development environment. This guide covers installation, authentication, and skills โ reusable extensions that add domain-specific behavior to Claude Code.
Before you begin¶
Requirements
- An Anthropic account with an active Claude Pro, Team, or Enterprise subscription.
- macOS, Linux, or Windows with WSL2 configured (for CLI installation).
What this guide covers¶
- Install Claude Code using the CLI installer, desktop app, or IDE extension
- Authenticate with an Anthropic account
- Install skills from a skills marketplace
Install Claude Code¶
Claude Code is available as a command-line tool and as an extension for VS Code.
Run the installer in a terminal:
Verify the installation:
WSL2 required
The CLI installer requires a Linux environment. Install and configure WSL2 before continuing. See Getting Started โ Install WSL.
Open a WSL2 terminal and run the installer:
Verify the installation:
Install the Claude Code extension from the marketplace for the IDE:
- VS Code โ search for "Claude Code" in the VS Code Marketplace
Note
For the most up-to-date installation instructions, see the Claude Code product page.
Authenticate¶
After installation, launch Claude Code to complete authentication.
For the CLI, open a terminal and run:
โโโโโโโ Claude Code v2.1.109
โโโโโโโโโ Sonnet 4.6 ยท Claude Team
โโ โโ ~/CODE/project
--------------------------------------------------------------------------------
Login
Claude Code can be used with your Claude subscription or billed based on API
usage through your Console account.
Select login method:
โฏ1. Claude account with subscription ยท Pro, Max, Team, or Enterprise
2. Anthropic Console account ยท API usage billing
3. 3rd-party platform ยท Amazon Bedrock, Microsoft Foundry, or Vertex AI
Esc to cancel
Claude Code opens a browser window. Complete the Anthropic login flow in the browser; the terminal session authenticates automatically when login succeeds. The desktop app and IDE extensions display a built-in login prompt on first launch.
Install skills from a marketplace¶
Skills extend Claude Code with reusable, domain-specific behavior. Each skill is
a self-contained workflow invoked as a slash command โ for example,
/code-review or /skill-creator. Skills are distributed through
GitHub-hosted marketplaces and can be installed into any Claude Code session.
Add a marketplace¶
Skills marketplaces are GitHub repositories containing skill definitions. Register a marketplace as a source before installing its skills:
Note
The official Anthropic marketplace (claude-plugins-official) is
pre-registered and requires no add step.
Install a skill¶
Once a marketplace is registered, install skills by name using the format
skill-name@marketplace-name:
After installing, activate the skill in the current session without restarting:
โโโโโโโ Claude Code v2.1.109
โโโโโโโโโ Sonnet 4.6 ยท Claude Team
โโ โโ ~/CODE/project
โฏ /plugin install code-review@claude-plugins-official
โฟ โ Installed code-review. Run /reload-plugins to apply.
โฏ /reload-plugins
โฟ Reloaded: 1 plugins ยท 0 skill ยท 5 agents ยท 0 hooks ยท 0 plugin MCP servers ยท 0 plugin LSP servers
Run /plugin and navigate to the Installed tab to list all currently
installed skills.
โโโโโโโ Claude Code v2.1.109
โโโโโโโโโ Sonnet 4.6 ยท Claude Team
โโ โโ ~/CODE/project
โฏ /plugin
--------------------------------------------------------------------------------
Plugins Discover *Installed* Marketplaces Errors
โญโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโฎ
โ โ Searchโฆ โ
โฐโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโฏ
Local
โฏ code-review Plugin ยท claude-plugins-official ยท โ enabled
type to search ยท Space to toggle ยท Enter to details ยท Esc to back
Explore the official skills library¶
The /plugin command opens an interactive manager with four tabs: Discover,
Installed, Marketplaces, and Errors. Use the Discover tab to
browse skills across registered marketplaces.
The official Anthropic marketplace includes skills in four categories:
- Code intelligence โ language server integrations for Python, Rust, TypeScript, Go, and more
- External integrations โ GitHub, GitLab, Jira, Figma, Slack, Vercel, and other services
- Development workflows โ commit tools, PR review, and plugin development
- Output styles โ response customization
For the full catalogue, see the Claude Code plugin documentation.
Manage installed skills¶
Update a marketplace¶
Pull the latest skill definitions from a registered marketplace:
Remove a skill¶
Uninstall a skill from the current user scope:
Remove a marketplace source¶
Remove a marketplace and make its skills unavailable for future installs:
Key concepts¶
- Claude Code
- Anthropic's official CLI and IDE extension for Claude. Provides an AI coding assistant in the terminal or IDE, extendable with skills.
- Skill
- A self-contained workflow that extends Claude Code with domain-specific
behavior. Skills are invoked as slash commands (e.g.
/mila-connect-cluster) in a Claude Code session. - Marketplace
- A GitHub repository containing one or more skill definitions. Adding a marketplace as a source makes its skills available to install.
Next step¶
-
Install Mila Skills for Claude Code
Add the Mila skills marketplace and install cluster-focused skills for account setup, SSH connections, and job submission.