Skip to content

chore: add Claude CLI install command to devfile#23820

Merged
svor merged 1 commit into
mainfrom
CHE-23806
Apr 22, 2026
Merged

chore: add Claude CLI install command to devfile#23820
svor merged 1 commit into
mainfrom
CHE-23806

Conversation

@olexii4
Copy link
Copy Markdown
Contributor

@olexii4 olexii4 commented Apr 22, 2026

What does this PR do?

Adds AI CLI tool install commands to the .devfile.yaml used for developing che in a Che/DevSpaces workspace.

New entry is added:

  • install-claude-code command — runs npm install -g @anthropic-ai/claude-code, accessible from the IDE command palette.
- id: install-claude-code
  exec:
    label: "Install Claude Code"
    component: devtools
    workingDir: ${PROJECT_SOURCE}
    commandLine: "npm install -g @anthropic-ai/claude-code"

Screenshot/screencast of this PR

What issues does this PR fix or reference?

fixes #23806

How to test this PR?

  1. Deploy Eclipse Che.
  2. Open the Create Workspace page and select Import from Git.
  3. Paste the repo URL with this branch and create a new workspace.
  4. Once the workspace is ready, open the IDE command palette and run:
    • Install Claude Code — installs @anthropic-ai/claude-code globally
  5. After installation, run claude in the terminal to confirm the CLI is available and functional.

PR Checklist

As the author of this Pull Request I made sure that:

Reviewers

Reviewers, please comment how you tested the PR when approving it.

@olexii4 olexii4 requested a review from svor April 22, 2026 00:46
@olexii4 olexii4 changed the title chore: add AI CLI tools install commands to devfile chore: add AI CLI tools install command to devfile Apr 22, 2026
Assisted-by: Claude Opus 4.6
Signed-off-by: Oleksii Orel <oorel@redhat.com>
@olexii4 olexii4 changed the title chore: add AI CLI tools install command to devfile chore: add Claude CLI install command to devfile Apr 22, 2026
@svor svor merged commit adf4048 into main Apr 22, 2026
5 checks passed
@svor svor deleted the CHE-23806 branch April 22, 2026 07:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add installation step for Claude CLI into devfiles

2 participants