arrow_backBack to Chapter

Module: Install Claude Code

Interactive Module
infoYou're viewing as a guest — progress won't be saved. Sign in to track your progress.

Install Claude Code

After completing this module, learners will be able to install and authenticate the Claude Code CLI on their machine.

The Power of Agentic Engineering

Claude Code is a command-line interface (CLI) tool developed by Anthropic that acts as an autonomous agent within your development environment. Unlike standard AI chat interfaces, Claude Code possesses agency: it can navigate your file system, read and write code, execute terminal commands, and manage git operations. For Salesforce Solution Engineers, this means you can describe a complex demo requirement in natural language, and Claude will perform the multi-step execution required to build it.

Deployment via DevBar

While Claude Code is an Anthropic product, Salesforce utilizes DevBar to manage its lifecycle, including authentication and configuration for the internal LLM gateway. Using DevBar to install Claude Code ensures that all necessary dependencies—such as the DX Extension, AI Hooks, and OAuth configurations—are automatically provisioned. This setup allows you to use Claude without needing to manage individual API keys or billing subscriptions manually.

Configuration and Best Practices

On its first launch, Claude Code will guide you through a series of setup steps. It is highly recommended to:

  • Enable Recommended Settings: This activates key shortcuts like Option+Enter for multi-line inputs.
  • Trust Your Work Directory: You should create a dedicated folder for your Claude projects (e.g., claude-projects) to keep your agentic workflows isolated and organized.
  • Monitor Addon Status: Within the DevBar UI, ensure that your core addons are marked as green (Installed/Ready). While some items like the MCP Adaptor are optional, the core CLI and Gateway Config must be active for the agent to function.

Test Your Understanding

Complete this check to unlock the Discovery Checklist and Implementation Guide.

bolt

Knowledge Check

What is the recommended method for Salesforce Solution Engineers to install Claude Code?

If you receive a 'command not found: devbar' or 'command not found: claude' error immediately after a successful installation, which command should you run?

Which of the following occur during the first launch of Claude Code? (Select all that apply)

Discovery Milestones

lockCOMPLETE QUIZ TO UNLOCK
lock

Prepare your project environment

Finish previous step to unlock

lock

Install Claude Code via DevBar

Finish previous step to unlock

lock

Launch and configure the agent

Finish previous step to unlock

lightbulb
Expert Guidance

Work through each milestone in sequence. Opening the Implementation Blueprint for each step will give you the production-ready patterns you need to apply the concept immediately.