chore: simplify and update claude code installation in ddev container
This commit is contained in:
@@ -0,0 +1,6 @@
|
||||
# Claude Code add-on configuration
|
||||
# This file is merged with your project's .ddev/config.yaml
|
||||
|
||||
hooks:
|
||||
post-start:
|
||||
- exec: "mkdir -p ~/.bashrc.d && test -f ~/.bashrc.d/claude.sh || echo 'export PATH=\"$HOME/.local/bin:$PATH\"' > ~/.bashrc.d/claude.sh && test -f ~/.local/bin/claude || curl -fsSL https://claude.ai/install.sh | bash"
|
||||
Reference in New Issue
Block a user