Published on

AI Tools on Mac

Authors
  • avatar
    Name
    Gene Zhang
    Twitter

1. Install Claude Code with pnpm to avoid the permission issue

pnpm i -g @anthropic-ai/claude-code

2. Create commands alias for AI tools

vim ~/.zshrc
alias update-ai="pnpm i -g @anthropic-ai/claude-code && pnpm i -g @google/gemini-cli"

alias claude-danger="claude --dangerously-skip-permissions"

Then source the file:

source ~/.zshrc