Tools & Setup
Instructions are written for macOS with Windows/Linux notes where they differ.
Feeling overwhelmed? This guide covers a lot. You do not need to absorb it all before you start. Follow the first few steps below to get an AI coding tool running on your machine. Once it is working, copy the URL for this website and paste it into your AI tool: “Read this guide and help me set up my project.” It will walk you through the rest.

Two paths
Path A: With GitHub. Clone the template, get version control and backup. Recommended, and the rest of this guide assumes it.
Path B: Without GitHub. Download the template as a zip, unzip it, drop your files in, open an AI coding tool in that folder. No Git required. The core workflow is identical.
Step 1: Set up an AI coding tool
You need a terminal-based AI coding assistant — Claude Code, Gemini CLI, OpenAI Codex, or similar. Any of them will work with this template.
For setup instructions covering prerequisites, installation, and authentication on Mac, Windows, and Linux, follow the guide at:
ai-in-the-terminal — Start with the prerequisites and quickstart, then follow the page for whichever tool you choose (Claude Code, Gemini CLI, Codex, etc.).
Based on NetworkChuck’s companion guide to the “AI in the Terminal” video.
A note on costs
This is an AI-heavy workflow. If you are working on a real research project — reading data files, writing scripts, editing manuscripts — you will consume tokens quickly. Be realistic about that upfront.
At minimum, you need a paid subscription. Claude Code works with a Claude Pro account ($20/month), which gives you a set number of tokens per hour, per day, and per month. The free tier will not get you through a working session.
I recommend going further, at least for the first month. If you are trying to get a stalled project unstuck, treat the higher-tier subscription (Claude Max at $100/month, or equivalent for your tool) as part of the cost of getting your research moving again. Dive in, spend a few weeks working intensively, and then assess whether the ongoing cost is worth it. For me, the value was obvious after one real session — but I had to invest enough to reach that point.
You can monitor your token usage at console.anthropic.com. If you hit your limit mid-session, the tool pauses until your tokens refresh — no surprise charges. In my experience, this is not a tool you can evaluate on the free tier. Budget accordingly.
If you get stuck during setup, you can use any AI you already have access to (ChatGPT, Claude.ai, Gemini) to help troubleshoot.
Step 2: Set up Git and GitHub (Path A only)
Skip this if you are taking Path B (no GitHub).
The prerequisites guide above covers Git installation. Once Git is installed, create a GitHub account if you don’t have one, then install the GitHub CLI:
brew install gh # macOS/Linux
gh auth login
Step 3: Get the project template
Path A (GitHub):
gh repo create my-project --template Black-JL/Research-Project-Flow --private --clone
cd my-project
Path B (no GitHub):
- Go to github.com/Black-JL/Research-Project-Flow.
- Click the green Code button → Download ZIP.
- Unzip it wherever you keep your research projects. Rename the folder to your project name.
Either way, you now have the full folder structure. Open your terminal, navigate to the folder, and launch your AI tool:
cd /path/to/my-project
claude # or gemini, codex, etc.
The AI reads your CLAUDE.md, orients itself, and is ready to work.
Step 4: Install your statistical software
Install whichever your field uses:
- Stata: Download from your institutional license portal. On macOS, add it to your PATH:
export PATH="/Applications/Stata/StataMP.app/Contents/MacOS:$PATH"in~/.zshrc. - R:
brew install r(Windows: r-project.org) - Python:
brew install python(Windows: python.org)
Step 5: Optional tools
SuperWhisper (voice-to-text). SuperWhisper runs offline on your Mac and transcribes speech to text wherever your cursor is. Set it to offline mode, press ⌥ + Space, talk, and the text appears. No typing, no cloud, no subscription. Lets you speak instructions to Claude Code instead of typing them. (macOS only; Windows alternative: Whisper.cpp)
Zotero + Better BibTeX (citation management). Install Zotero and the Better BibTeX plugin. Create a project collection, export with “Keep updated” to manuscript/references.bib. Your bibliography stays in sync automatically.
Dropbox (file sync). Place your project folder in Dropbox for backup and co-author sharing. If using Git, exclude .git from Dropbox sync: xattr -w com.dropbox.ignored 1 .git (macOS). If you are on Path B with no GitHub, Dropbox becomes your primary backup — consider it strongly recommended.
Verify
claude --version # or your chosen AI tool
If you are on Path A, also verify:
git --version
gh --version
Once everything works, move on to Project Structure.