Target: Mac users (Apple Silicon or Intel) who have never installed Python or R before.
If you already have some of these installed, the diagnostic skill (/setup-medsci from inside Claude Code) will tell you what to skip.
Open Terminal (Cmd+Space → type "Terminal" → Enter), then paste:
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"You'll be asked for your Mac password (it won't show as you type — that's normal). After ~5 minutes, Homebrew prints "Installation successful!"
Apple Silicon users (M1/M2/M3/M4): at the end of the install, Homebrew shows two echo commands to add Homebrew to your PATH. Run them, otherwise the brew command won't be found in new Terminal windows.
Verify:
brew --versionExpected: Homebrew 4.x.x
Why pyenv instead of system Python: macOS ships with an old Python 2 that confuses many tools. pyenv lets you install a clean Python 3.11 alongside it without breaking the system.
brew install pyenv
echo 'export PYENV_ROOT="$HOME/.pyenv"' >> ~/.zshrc
echo '[[ -d $PYENV_ROOT/bin ]] && export PATH="$PYENV_ROOT/bin:$PATH"' >> ~/.zshrc
echo 'eval "$(pyenv init -)"' >> ~/.zshrc
exec zsh
pyenv install 3.11.9
pyenv global 3.11.9Verify:
python3 --versionExpected: Python 3.11.9
Faster alternative (if you don't need to manage multiple Python versions): brew install python@3.11 then symlink python3 to it. Less robust long-term but works.
brew install --cask rThe --cask flag installs the official R from CRAN (with the GUI). Takes about 5 minutes.
Verify:
Rscript --versionExpected: R scripting front-end version 4.x.x
Recommended GUI: Install RStudio for a nicer experience.
brew install --cask rstudiobrew install node@20Verify:
node --versionExpected: v20.x.x
Usually already installed on Mac. Verify:
git --versionIf missing:
brew install gitTwo options:
Option A — Desktop app (easiest): Download from https://claude.ai/download and install.
Option B — CLI (if you prefer Terminal):
brew install --cask claudeVerify:
claude --versionAfter install, run claude once and follow the login prompt (opens browser → log in to your Anthropic account).
- Download Zotero from https://www.zotero.org/download/ and install.
- Open Zotero → Preferences → Sync → log in.
- Install Better BibTeX: download
.xpifrom https://github.com/retorquere/zotero-better-bibtex/releases/latest → in Zotero, Tools → Add-ons → gear icon → Install Add-on From File → select the downloaded.xpi. - Restart Zotero.
In Claude Code, run:
/setup-medsci
You should see a checklist with all green ✅ marks. If anything is ❌, it tells you which step to revisit.
git clone https://github.com/Aperivue/medsci-skills.git ~/medsci-skills
cd ~/medsci-skills
open installers/install-macos.commandThe .command file is a double-clickable installer that copies the skills into ~/.claude/skills/ and prompts you for confirmations.
See mcp-setup.md for Zotero, Google Drive, and PubMed MCP integration.
Try Demo 1:
cd ~/medsci-skills/demo/01_wisconsin_bcThen in Claude Code: /orchestrate --e2e
Expected: a complete IMRAD manuscript + ROC curves + STARD compliance report in ~10 minutes.
Issues? See common-issues.md.