Claude Desktop for M2 user
I'll create a condensed guide specifically for M2 Mac users based on the information provided. credit: https://www.reddit.com/r/ClaudeAI/comments/1ji8ruv/myclaudeworkflowguideadvancedsetupwith_mcp/
Claude Desktop Setup Guide for M2 Mac Users
Requirements
- Claude Pro subscription ($20/month)
- Claude desktop application
- Node.js and npm
- Python 3
- API keys (free tiers):
- Brave Search: brave.com/search/api - Tavily: tavily.com
Installation Steps
1. Install Prerequisites
bash
Install Node.js and npm using Homebrew
brew update
brew install node
Verify installations
node -v
npm -v
npx -v
Find npx location (needed for config)
which npx
Install Python
brew install python
Verify Python installation
python3 --version
2. Configuration Setup
The Claude desktop application on M2 Macs is typically installed in:
/Users/[USERNAME]/Library/Application Support/Claude
Create or edit claudedesktopconfig.json
in this directory:
json
{
"servers": {
"fetch": {
"command": "/usr/bin/python3",
"args": ["-m", "server_fetch"]
},
"brave-search": {
"command": "/opt/homebrew/bin/npx",
"args": ["-y", "@server/brave-search"],
"env": {
"BRAVEAPIKEY": "your-brave-api-key-here",
"PATH": "/opt/homebrew/bin:/usr/bin:/bin",
"NODEPATH": "/opt/homebrew/lib/nodemodules"
}
},
"tavily": {
"command": "/opt/homebrew/bin/npx",
"args": ["-y", "tavily-integration@0.1.4"],
"env": {
"TAVILYAPIKEY": "your-tavily-api-key-here",
"PATH": "/opt/homebrew/bin:/usr/bin:/bin",
"NODEPATH": "/opt/homebrew/lib/nodemodules"
}
},
"filesystem": {
"command": "/opt/homebrew/bin/npx",
"args": ["-y", "@server/filesystem", "/Users/username/Documents"]
},
"sequential-thinking": {
"command": "/opt/homebrew/bin/npx",
"args": ["-y", "@server/sequential-thinking"]
}
}
}
Important:
username
with your actual macOS usernamewhich npx
(for M2 Macs, it's typically in /opt/homebrew/bin/npx
)3. Verify Setup
- Right-click the Claude icon in the menu bar (top right) and select "Quit"
Troubleshooting for M2 Mac
Path Issues
echo $PATH
/opt/homebrew/bin
is in your path~/.zshrc
or ~/.bash_profile
)Permission Errors
sudo chown -R $(whoami) $(npm config get prefix)/{lib/node_modules,bin,share}
npm config set prefix ~/.npm-global
export PATH=~/.npm-global/bin:$PATH
API Key Problems
Security Tips
/Users/username/Documents/ClaudeFiles
)Voice Input Integration
Consider using Whisper for voice-to-text functionality with Claude to speed up interaction.
This streamlined setup provides Claude with web search, filesystem access, and enhanced reasoning capabilities - transforming it from a simple chat interface into a powerful assistant for your M2 Mac.