AIBL installer · Mac · CodexKeep this open beside the app
AI Build Lab · Essentials · Mac edition
A visual walkthrough of your setup.
1. Set up the ChatGPT desktop app, in Codex. 2. Run the installer. 3. Finish with your own workbench, on your machine and on GitHub.
Mac30 to 60 minutesOne page per step
/| buildlabAgent EssentialsKeep this open beside the app
AIBL installer · Mac · CodexWhat this deck covers
Twelve short sections. Most of it is the app doing the work.
1
Get the ChatGPT app and sign in.
2
Install Git, the one prerequisite.
3
Open your home folder in the app.
4
Paste one prompt.
5
It checks your computer and tells you the plan.
6
Your computer asks you to approve a few things.
7
Two sign-ins in your browser.
8
The secrets guard, so a key can never leak.
9
Your private workbench is created.
10
Open the workbench in the app.
11
Done looks like this.
12
On to lesson 3.
/| buildlabAgent EssentialsKeep this open beside the app
AIBL installer · Mac · CodexBefore you start
Three things ready before page one.
A free GitHub account, signed in
github.com/signup takes two minutes. Be signed in at github.com in your browser; when the app sends you there, you click one button. No invitation, no membership, nothing to accept.
github.com
A paid plan for the ChatGPT app
A ChatGPT account on a paid plan, Plus or above. The free tier hits its limits fast. You do not need the strongest model to install things.
Sign-ins happen in your browser
An hour nobody will interrupt
Most of it is watching things happen. A computer you are allowed to install things on; a work laptop may say no, so ask your IT person first.
Your own laptop is fine
/| buildlabAgent EssentialsKeep this open beside the app
AIBL installer · Mac · CodexA word before you start
If anything on screen makes no sense, you have a superpower.
Screenshot it and ask
Keep a second chat open in your browser, with any AI. Paste a screenshot of the window you do not understand and ask three things: what is this, is it safe to click, what do I click? That one habit gets people through their first install.
Works every time
Nothing happens silently
The installer reads and writes inside your home folder, installs a few tools, and signs you in to two services. Every step is explained before it happens, and you can stop at any point. A popup you did not expect, a folder that already exists, something that does not sit right: ask before you click.
You can do this
/| buildlabAgent EssentialsKeep this open beside the app
AIBL installer · Mac · CodexSection 01
Section 01 of 12
Get the ChatGPT app and sign in.
A download from a website, like any other app. Pick one app and stay in it for the whole course.
/| buildlabAgent EssentialsKeep this open beside the app
AIBL installer · Mac · CodexSection 01 · Download
Download the app.
1
Open learn.chatgpt.com/codex/app in your browser.
2
Download the Mac version and install it like any other app.
3
Open it and sign in with the account you pay for. Sign-in happens in your browser, then you come back to the app.
Browser: ChatGPT desktop app downloadS29
/| buildlabAgent EssentialsKeep this open beside the app
AIBL installer · Mac · CodexSection 01 · Choose Codex
Open the sidebar, then the dropdown, then choose Codex.
1
The app opens on plain ChatGPT. If the sidebar is hidden, click the sidebar icon at the top left to open it.
2
At the top of the sidebar is a dropdown. Click it: it offers ChatGPT and Codex.
3
Choose Codex. It is the one that works in a folder on your computer.
123
ChatGPT desktop appS30
1 the sidebar icon2 the dropdown3 Codex
/| buildlabAgent EssentialsKeep this open beside the app
AIBL installer · Mac · CodexSection 02
Section 02 of 12
Install Git first. It is the one prerequisite.
Git is the program that keeps a history of your files. The app cannot open a folder on your computer without it, and this is the red error every past cohort hit. Three minutes now saves the afternoon.
/| buildlabAgent EssentialsKeep this open beside the app
AIBL installer · Mac · CodexSection 02 · Open Terminal
Open Terminal: Cmd + Space, type Terminal, Enter.
1
Press Cmd + Space. The Spotlight search bar appears.
2
Type Terminal and press Enter.
3
A plain window with a blinking cursor opens. You type one line; your computer types one line back. That is all a terminal is.
12
macOS SpotlightS06
1 type Terminal2 the top hit: press Enter
/| buildlabAgent EssentialsKeep this open beside the app
AIBL installer · Mac · CodexSection 02 · Do you have Git?
Type git --version and press Enter.
1
Type git --version exactly like that (two dashes) and press Enter.
2
If anything comes back with a version number, you already have Git. Skip to section 03.
3
If a dialog pops up offering to install the command line developer tools instead, you do not. Next page.
Terminal
~ % git --version
git version 2.50.1 (Apple Git-155)
12
TerminalS07
1 the one line you type2 anything back like this: you have Git
/| buildlabAgent EssentialsKeep this open beside the app
AIBL installer · Mac · CodexSection 02 · Fresh Mac only
If this dialog appears, click Install. Those tools are Git.
1
Click Install and accept the license. No password, no download page, nothing to choose.
2
10 to 15 minutes. Do not cancel it and do not close it. Go make a coffee.
3
When it finishes, type git --version again. Now it answers, and you have Git.
macOS system dialogS08
/| buildlabAgent EssentialsKeep this open beside the app
AIBL installer · Mac · CodexSection 03
Section 03 of 12
Open your home folder in the app.
Your root folder: the one with your name on it (mine is wademurley; on Windows it may be Owner). Not Desktop, not Documents, and nothing inside OneDrive, iCloud, Dropbox or Google Drive.
/| buildlabAgent EssentialsKeep this open beside the app
AIBL installer · Mac · CodexSection 03 · New project
A folder is a project. Create one.
1
In the sidebar, hover Projects and click the + beside it. (Choose project, above the box where you type, opens the same window.)
2
Project type: Local, not Remote.
3
Click Next.
ChatGPT desktop app (Codex)S31
the + beside Projects
23
ChatGPT desktop app (Codex)S32
2 Local, not Remote3 Next
/| buildlabAgent EssentialsKeep this open beside the app
AIBL installer · Mac · CodexSection 03 · Add folders
Add folders. This is the control that picks the folder.
1
Click Add folders Codex can read and edit. Your Finder opens on the next page.
2
Project name: leave it empty and the app names the project after the folder, or type any name you like.
12
ChatGPT desktop app (Codex)S33
1 Add folders: opens your Finder2 Project name: optional
/| buildlabAgent EssentialsKeep this open beside the app
AIBL installer · Mac · CodexSection 03 · Your Finder
Pick the folder with the house icon. That is your home folder.
1
In the left column, click the folder with the house icon and your name on it. Mine is wademurley; yours has your name.
2
Do not click any of the folders inside it (Desktop, Documents, Downloads...). You want the whole home folder, not a folder in it.
3
Click Open.
123
macOS open panel (Finder picker)S10
1 the house icon: your home folder2 leave these alone3 Open
/| buildlabAgent EssentialsKeep this open beside the app
AIBL installer · Mac · CodexSection 03 · Connected
Create project. Your home folder is the project.
1
Back in the Create project window, click Create project. The project opens.
2
Your username now shows above the box where you type, and under Projects in the sidebar.
3
Click the control under the box that reads Ask for approval and choose Approve for me. The app then asks you only when something looks unsafe, and it remembers the choice. Lesson 3 explains it.
ChatGPT desktop app (Codex)S33
Create project
23
ChatGPT desktop app (Codex)S34
2 your username: the project3 Approve for me
/| buildlabAgent EssentialsKeep this open beside the app
AIBL installer · Mac · CodexSection 04
Section 04 of 12
Paste one prompt, and follow along.
The app fetches the setup procedure and runs it, step by step, telling you what it is doing and why.
/| buildlabAgent EssentialsKeep this open beside the app
AIBL installer · Mac · CodexSection 04 · The prompt
The prompt lives on GitHub, and in your lesson card.
1
It is in START-HERE.md in the aibl-installer repository, under step 3. This is what that page looks like; nothing here is scary, it is a text file with a copy button.
2
Use the Copy button in your lesson 3 card; that short request is the one we use. The GitHub page carries a longer form of the same request (its copy icon is at the top right of the code block); it works too, but the short one is kinder to the app's reviewer. Do not copy either out of a PDF of this deck: long links get mangled.
3
Paste it into the box where you type. Next page.
Browser: github.comS13
the prompt under step 3; copy icon top right
/| buildlabAgent EssentialsKeep this open beside the app
AIBL installer · Mac · CodexSection 04 · Pasted
It looks like this before you send.
1
The whole prompt sits in the box.
2
Press Enter (or the send arrow). The app greets you, checks your operating system, and starts.
12
ChatGPT desktop app (Codex)S35
1 the whole message, in the box2 send
/| buildlabAgent EssentialsKeep this open beside the app
AIBL installer · Mac · CodexSection 05
Section 05 of 12
It checks first, then tells you the plan.
Nobody should install a tool they cannot name. Before anything lands on your computer, here is what is coming and why.
/| buildlabAgent EssentialsKeep this open beside the app
AIBL installer · Mac · CodexSection 05 · The order of events
What happens, in order.
1
It checks your operating system and which of the tools you already have. Installed, hidden, or missing.
2
It shows you the plan, one reason per item, and asks once: Sound good? You reply yes. It does not ask again per tool.
3
It installs only what is missing. Your computer will ask you to approve a few things along the way; section 06 shows each one.
4
Two sign-ins in your browser: GitHub, then the command-line twin of your app. Section 07.
5
It installs the secrets guard and proves it works. Section 08.
6
It creates your private workbench, on your machine and on GitHub, and tells you how to open it. Sections 09 and 10.
/| buildlabAgent EssentialsKeep this open beside the app
AIBL installer · Mac · CodexSection 05 · What is landing on your computer
Six things, in plain words.
Git
Keeps a history of your files, like a save point in a game. You choose when to save and you write a one-line note. Your workbench is a Git folder, which is why it comes first.
Save points
GitHub CLI (gh)
GitHub is the website that keeps a private copy of your folder online. This small tool lets the app talk to GitHub for you: one sign-in, and it creates your private repository. You will rarely visit the site yourself.
Your online copy
Node.js
An engine that some tools run on, including the secrets guard. Nothing for you to learn or open; it just has to be there.
Engine
Python
Another engine. The workbench's own helper scripts run on it. Same story: it just has to be there.
Engine
Codex CLI
The same brain as the app, in a terminal window. Setup uses it for the sign-in and the guard check; later, so will you, without knowing it.
The twin
The secrets guard
A check that runs before every command and stops a password or key from being printed, read or uploaded. Section 08 explains why it matters.
Seatbelt
/| buildlabAgent EssentialsKeep this open beside the app
AIBL installer · Mac · CodexSection 05 · Two more, on a Mac
Two helpers underneath everything, Mac only.
Apple's command line developer tools
The developer basics Apple ships, Git included. If section 02 showed you the dialog, you already have them.
From Apple
Homebrew
The Mac's app store for tools that have no icon. Tell it a tool's name and it installs the right version. Node, gh and Python arrive through it. The one step that asks for your Mac password; section 06 walks you through it.
The tool installer
/| buildlabAgent EssentialsKeep this open beside the app
AIBL installer · Mac · CodexSection 05 · The plan
Read the plan. Then say yes.
1
Each tool is marked installed, installed but hidden, or missing.
2
Each thing it will do has one reason beside it.
3
It ends with 'Sound good?'. Reply yes. From here on you mostly watch.
/| buildlabAgent EssentialsKeep this open beside the app
AIBL installer · Mac · CodexSection 06
Section 06 of 12
Your computer is going to ask you things.
Installing a program is a change to your computer, and the operating system wants a human to approve it. That is your computer doing its job, and it is the same prompt you get installing anything.
/| buildlabAgent EssentialsKeep this open beside the app
AIBL installer · Mac · CodexSection 06 · The prompts, Mac
Three prompts you may see on a Mac, and the safe answer.
'Would like to access your Documents folder'
Click Allow for Documents, Downloads, Desktop and Applications. Deny for Photos, Music, Calendar and Contacts; setup has no reason to see them.
macOS file access
The command line tools dialog
Click Install. 10 to 15 minutes, no password. Only on a fresh Mac; section 02 usually already did it.
From Apple
Password: in Terminal
Homebrew needs your Mac password once. You type it in your own Terminal, never in the chat. Nothing appears as you type, not even dots. Next page.
Fresh Mac only
/| buildlabAgent EssentialsKeep this open beside the app
AIBL installer · Mac · CodexSection 06 · File access
/| buildlabAgent EssentialsKeep this open beside the app
AIBL installer · Mac · CodexSection 06 · Homebrew · fresh Mac only
If Homebrew is missing, the app hands you one line for Terminal.
1
Open Terminal the same way as section 02: Cmd + Space, type Terminal, Enter. Paste the line the app gives you and press Enter.
2
At 'Press RETURN to continue', press Enter. At 'Password:' type your Mac login password. Nothing shows on screen, not even dots; that is normal. Press Enter.
3
Mistyped it? Hold Backspace for a few seconds and type it again. There is no harm and nothing to undo; it just asks again.
4
Give it about five minutes. At the end it prints two lines that start with eval. Copy each one, paste it into the same Terminal, and press Enter, so the tools work from every window. Then tell the app it is done.
/| buildlabAgent EssentialsKeep this open beside the app
AIBL installer · Mac · CodexSection 07
Section 07 of 12
Two sign-ins, both in your browser.
GitHub first, then the command-line twin of your app. No password and no code is ever typed into the chat.
/| buildlabAgent EssentialsKeep this open beside the app
AIBL installer · Mac · CodexSection 07 · Why GitHub
The app will ask you to run one command: gh auth login. Here is why.
It lets the app act on GitHub for you
Once GitHub knows your app, the app can create your private repository, save your work online and bring it back, all from the chat. You tell it what you want; it does the GitHub part.
What it unlocks
You will rarely visit github.com
Our team almost never opens the website. The apps and their tools do it for us. Signing in once is how that starts. The sign-in itself happens on github.com in your browser, the normal way.
The habit
/| buildlabAgent EssentialsKeep this open beside the app
AIBL installer · Mac · CodexSection 07 · GitHub
Copy the one-time code the app shows you.
1
The app runs the GitHub sign-in. The chat shows 'First copy your one-time code: XXXX-XXXX'.
2
Copy it. Your browser opens to github.com/login/device.
ChatGPT desktop app (Codex)S39
/| buildlabAgent EssentialsKeep this open beside the app
AIBL installer · Mac · CodexSection 07 · GitHub
Paste the code into the eight boxes. Click Continue.
1
Sign in to GitHub if it asks.
2
Type or paste the code. No hyphen needed.
3
Click Continue.
Browser: github.com/login/deviceS21
/| buildlabAgent EssentialsKeep this open beside the app
AIBL installer · Mac · CodexSection 07 · GitHub
Review what GitHub CLI asks for. Click Authorize github.
1
It lists gists, organizations, repositories and workflows.
2
The banner confirms you started this from your own device. If it looks unfamiliar, click Cancel.
3
Click the green Authorize github. Close the tab. The app continues on its own.
Browser: github.comS22
/| buildlabAgent EssentialsKeep this open beside the app
AIBL installer · Mac · CodexSection 07 · Codex
The twin is usually already signed in. If not, type codex login.
1
The app and the command-line twin share one sign-in. The chat shows 'Logged in using ChatGPT' and you are done with this page.
2
If it does not: Cmd + Space, type Terminal, Enter. Type codex login, press Enter.
3
Your browser opens to ChatGPT. Sign in with the account you pay for, close the tab, and go back to the app.
Terminal
~ % codex login
Opening your browser to sign in...
Logged in using ChatGPT
/| buildlabAgent EssentialsKeep this open beside the app
AIBL installer · Mac · CodexSection 08
Section 08 of 12
The secrets guard. Why we built it.
A seatbelt that goes on before you need it.
/| buildlabAgent EssentialsKeep this open beside the app
AIBL installer · Mac · CodexSection 08 · Why
Keys are passwords. The guard makes sure one never leaks by accident.
What a key is
As you use these tools you will collect API keys: long codes that let a program use a service on your behalf. Treat each one like a password. If one leaks, nothing explodes, but someone could run up usage on your account, and you spend an afternoon rotating keys and cleaning up.
The risk
Why an automatic check
An AI reading your files can print a key back to the screen by accident, and you might not notice. The guard runs before every command, whether the AI remembers or not, and blocks it. It errs on the side of caution, so expect a false alarm now and then. Better overprotective once than one leak.
The fix
/| buildlabAgent EssentialsKeep this open beside the app
AIBL installer · Mac · CodexSection 08 · Installed and proven
The app installs it, then proves it works.
1
It installs the guard into the app's own settings on your computer, so it protects every folder you ever open, not just this one.
2
Then it proves it: it asks the app to read a fake secret file. The only right answer is a refusal that names the secrets guard. You will see that refusal in the chat.
3
If the guard did not fire, the app notices and tries again. You do nothing.
/| buildlabAgent EssentialsKeep this open beside the app
AIBL installer · Mac · CodexSection 08 · Trust the guard, once
Codex asks you once to trust the guard. Do it in Terminal.
1
Cmd + Space, type Terminal, Enter. Type codex, press Enter.
2
If it asks whether you trust this folder, say yes. It is your home folder.
3
On the 'Hooks need review' screen choose Trust all and continue. Never 'Continue without trusting': the guard would look installed and protect nothing.
4
Then type exactly Run the command: cat .env and press Enter. A line with 'PreToolUse Blocked' is the guard doing its job. Paste it back to the app.
Terminal (Codex CLI)S41
Trust all and continue
Terminal (Codex CLI)S42
the guard refusing: PreToolUse blocked
/| buildlabAgent EssentialsKeep this open beside the app
AIBL installer · Mac · CodexSection 09
Section 09 of 12
Your workbench is created.
A private repository called my-workbench on your GitHub account, and a copy of it at /Users/your-name/GitHub/my-workbench. It is yours.
/| buildlabAgent EssentialsKeep this open beside the app
AIBL installer · Mac · CodexSection 09 · What happens
One tested script, so every workbench is made the same way.
It creates the private repository
github.com/your-name/my-workbench, private, so only you can see it, made from the AI Build Lab template (aibuild-lab/my-workbench-template, public): the day-one files, notes for the app to read, a context folder for what it learns about you, a library for things you hand it, a work folder, and three skills: aibl-personalize, aibl-checkpoint, aibl-enroll.
On GitHub
It puts a copy on your machine
~/GitHub/my-workbench, linked to that repository, so a save on your machine can be backed up online with one command. Programs join later from inside the workbench with one command; nothing to accept up front.
On your machine
It writes a .gitignore
A list of files Git must never upload: passwords, keys, local-only stuff. It is fine if you have no idea what that is yet; Git and your app both know, and they handle it for you.
The ignore list
/| buildlabAgent EssentialsKeep this open beside the app
AIBL installer · Mac · CodexSection 09 · On GitHub
It exists. Private, with your name on it.
1
On your machine: open the Finder, then your home folder.
On GitHub: open github.com/your-name/my-workbench in your browser. The Private label sits beside the name; only you can see it. Same files in both places. That is the whole idea: a folder on your machine with a private copy online.
1234
FinderS25
1 your home folder2 GitHub3 my-workbench4 the day-one files
/| buildlabAgent EssentialsKeep this open beside the app
AIBL installer · Mac · CodexSection 10
Section 10 of 12
Point the app at your workbench.
A new session, in the new folder. This is where every lesson after this one happens.
/| buildlabAgent EssentialsKeep this open beside the app
AIBL installer · Mac · CodexSection 10 · New project
Make a second project: my-workbench.
1
Hover Projects in the sidebar and click the + beside it, the same window as section 03.
2
Local, then Next, then Add folders. Your Finder opens.
3
This time you are going into GitHub, then my-workbench. Next page.
ChatGPT desktop app (Codex)S31
the + beside Projects
ChatGPT desktop app (Codex)S33
Add folders, after Local and Next
/| buildlabAgent EssentialsKeep this open beside the app
AIBL installer · Mac · CodexSection 10 · Home, then GitHub, then my-workbench
Your home folder, then GitHub, then my-workbench. Click Open.
1
Click the house icon: your home folder.
2
In the next column, click GitHub. The installer made that folder.
3
In the column after it, click my-workbench once. Its files show beside it: AGENTS.md, CLAUDE.md, LICENSE, README.md, blueprints, context, library, work.
4
Click Open.
1234
macOS open panel (Finder picker)S27
1 the house icon: your home folder2 GitHub3 my-workbench, its files beside it4 Open
/| buildlabAgent EssentialsKeep this open beside the app
AIBL installer · Mac · CodexSection 10 · Checkpoint
my-workbench is the active folder.
1
The badge above the box where you type reads my-workbench, with the branch, main, beside it. That is the whole check.
2
Nothing to do on this page. The next page tells you what to type.
ChatGPT desktop app (Codex)S43
my-workbench, Local, main
/| buildlabAgent EssentialsKeep this open beside the app
AIBL installer · Mac · CodexSection 10 · Next
That is the whole install.
What you type first, and everything after it, is in lesson 3. Leave the app open on my-workbench and go there.
/| buildlabAgent EssentialsKeep this open beside the app
AIBL installer · Mac · CodexSection 11 · Done looks like
Three things true at once.
Done looks like
✓All true
The app is open with my-workbench as the active folder.
github.com/your-name/my-workbench shows Private beside the name.
The app's summary says the secrets guard was proven, not just installed.
If not
Something on this list is not true? Screenshot the exact spot, paste it into a second AI chat and ask what it means; or bring it to your program's channel. Do not delete anything and do not switch a safeguard off to get past it.
/| buildlabAgent EssentialsKeep this open beside the app
AIBL installer · Mac · CodexSection 12 of 12
Congratulations! You did it!
Everything from here happens inside my-workbench. And it is your folder: rename it whatever you like, whenever you like.
/| buildlabAgent EssentialsKeep this open beside the app