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

MCP Servers

Neon DB

Claude:

vim ~/.claude.json

        "neon": {
          "type": "stdio",
          "command": "npx",
          "args": [
            "-y",
            "@neondatabase/mcp-server-neon",
            "start",
            "<YOUR_NEON_API_KEY>"
          ],
          "env": {}
        }