Skip to content

Use claude-code native installer#8

Open
ptmkenny wants to merge 2 commits intoFreelyGive:mainfrom
ptmkenny:native_install
Open

Use claude-code native installer#8
ptmkenny wants to merge 2 commits intoFreelyGive:mainfrom
ptmkenny:native_install

Conversation

@ptmkenny
Copy link

Claude code has switched to a native installer. Fixes #7

  • The installation path of the claude-code installer is .local/bin and currently cannot be customized, so the path is set via homeadditions.

@ptmkenny ptmkenny changed the title Native install Use claude-code native installer Feb 14, 2026
@weitzman
Copy link

weitzman commented Mar 6, 2026

To test this PR, you can run ddev add-on get https://github.com/FreelyGive/ddev-claude-code/tarball/refs/pull/8/head.

Looks good but I got an error during post-start. Can we avoid the symlink(s)?

Waiting for ddev-router to become ready... ready in 0.5s
ln: failed to create symbolic link '/home/weitzman/.claude.json': File exists
Task failed: Exec command '>> /var/www/html/.ddev/claude-code/.claude.json && ln -s /var/www/html/.ddev/claude-code/.claude.json ~/.claude.json' in container/service 'web': exit status 1

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.

"Claude Code has switched from npm to native installer."

2 participants