Check your setup with one small task
Install Codex using OpenAI's guide. Choose one local folder and test read-only access with a sample file.
Key Takeaways
- OpenAI lists a download for Apple Silicon Macs. Check your Mac before you choose the desktop app.
- Choose Codex in the app, sign in and open one local folder for your first task.
- Pick read-only access when you only need an answer or a report.
- Use the Codex CLI if you prefer Terminal. Check its version and start it from the right folder.
You want Codex to help with files on your Mac. You open the app and see choices for chats, projects and folders. Where you start matters. A chat with no folder may have no files to work with. A large project can give the task far more context than it needs.
To set up OpenAI Codex on Mac, check your Mac type, get the desktop app from OpenAI and sign in. Choose Codex, open a small folder where you can do a practice task and check its permissions. Start with a read-only request so you can see which files it can reach before you give it work to do.
You can also use Codex from Terminal. It has its own installer and sign-in steps. This guide shows how to decide which option to use and how to check that your first task is using the right folder.
Pick How You Want to Run Codex
The desktop app gives you a place to keep chats and work with folders. OpenAI’s desktop guide shows Codex and ChatGPT as choices in the app. It also describes Work in ChatGPT as a mode you can choose above the message box. Start in Codex for the steps here. Use a local folder when the task needs files on your Mac.
The Codex CLI is a tool you open in Terminal. You can run it while you work in a project folder. It helps you check your task from the same place you might run Git or view source files. CLI stands for command-line interface. You type commands there and read the output in your Terminal window.
| What you prefer | Where to start | What to check first |
|---|---|---|
| A window for chats and projects | ChatGPT desktop app and its Codex option | Mac type and app download |
| A task you can start from Terminal | Codex CLI | Official install method and current folder |
| A quick file check with no edits | Read-only Codex task | Exact folder and what the task may read |
| Work on a project with edits | Codex task with scoped write access | Backup or Git state and the edits you expect |
Both paths can start with a small task. You can learn more from asking it to explain two example files than from asking it to handle a folder full of work. A small scope gives you a result you can check on your own.
Check Your Mac Before You Download the App
Open the Apple menu and choose About This Mac. Look at the item marked Chip or Processor. Apple uses the Chip label for Macs with Apple silicon. Macs with Intel processors show a Processor line. Write down the macOS version shown there if you need to check support or ask for help.
OpenAI’s desktop app guide lists a macOS download for Apple Silicon. Use the official download page or the app link in OpenAI’s guide. If you have an Intel Mac, check OpenAI’s current options for that Mac type before you download. The desktop app and the separate CLI can have different system requirements.
Use the OpenAI or ChatGPT website to find the app. A download page can look like the right one even when it belongs to someone else. Check the address and choose a build that suits your computer. If your Mac belongs to work or school, check how you are meant to get new apps there. An admin may manage which apps you can install.
If the Mac asks why it should open a file or allow a new permission, read the request and the name of the app. Follow the app’s official setup instructions. If you see a warning you cannot explain, pause and check that you got the right download. Fix the source of the issue before you try to open the app again.
Install the Desktop App and Start a Local Codex Task
Open the download from OpenAI. Follow the prompts to install the desktop app. Then open it from Applications. Sign in with the ChatGPT account you plan to use. If you have a work workspace and a personal workspace, check which one is open.
OpenAI’s desktop guide says you can choose Codex in the desktop app, then start with New chat. The same guide describes starting or opening a folder. If your app uses a project picker, use it to open a project for that local folder or add the folder to the project. Check the name in your task before you send it a prompt.
Choose a small test folder
For a first run, make a folder you can use for practice. Create a short plain text file called notes.txt with two or three lines you wrote for the test. You can use a list of fruit or a short note about what you want to learn. Keep it simple enough to recognize in the response.
Use that folder for the task. If the app lets you attach more than one folder, start with one. OpenAI’s project guide says each added folder can give the project access to more files. Keep unrelated files in a different folder. You can add a separate project when you have a real job that needs other files.
Review the task permissions
Find the permissions or approval controls for the task. Choose a read-only option if it is there and your goal is a report. Check the controls again if you change projects or start in a new workspace. Access choices can depend on where you work and your workspace settings.
Read-only mode controls what Codex can change. Your prompt can also say what may be read. For the test, use only the one file you made. If the tool asks for extra access, check what it needs and why. A simple practice task should stay inside the folder you chose.
Run a Test Task You Can Check Yourself

Use the sample note to see that the task can read the folder you picked. This first check helps if the app can chat but does not have access to a file you expected it to see. Open the sample note yourself before you send the prompt.
Copy this prompt for your first test
Read notes.txt in my current test folder. Give me its first line and a one-sentence summary. Keep the rest of the folder out of scope. Do not create, edit, move, delete or send any file. If you cannot see notes.txt, tell me what folder you can see and stop.
Compare the first line it returns with the file you made. Then look at the summary. Check that it used the right note. If the answer is about a different file, stop and pick the right folder. If the app says it could not read the file, check that it is in the local folder and that the task has read access.
Try one more simple task if you want to see how the scope works. Put a second sample text file in the folder and name it in your prompt. You can ask it to list the facts that the two notes have in common. Use test material you can check by reading both files.
When you move on to real work, open the folder that holds just that project. Give the task a clear goal and ask it to name the files it used. Where the task only needs a report, keep it read-only. The Mac storage guide in References shows a read-only prompt that uses file names and sizes.
Set Up the Codex CLI in Terminal
OpenAI’s Codex CLI guide lists a standalone installer for macOS and Linux. It also lists other install methods, including npm and Homebrew. Pick one method from the official guide. Use the method that fits the way you manage tools on your Mac. You only need one copy in the path you use to run Codex.
Run the install steps from OpenAI’s guide. Then open a new Terminal window and enter codex –version. If it prints a version, Terminal can find the tool. If Terminal says it cannot find the command, confirm where you installed it and follow the path guidance for that install method. A new Terminal window can help it pick up a path set during install.
Change to the folder where your test note lives. Use pwd to print the current folder before you run Codex. It should match the location in Finder. Then run codex. OpenAI says the first run offers sign-in choices. Follow the flow for your ChatGPT account or the method your workspace uses.
Check access in the CLI
Once the CLI is open, use /permissions to see its access choices. OpenAI documents read-only mode for work where you want to inspect files or plan changes. Choose it for a file report. Then send the same practice prompt you used for the desktop app.
Check the project and access after you switch to a different folder. You may start more than one Terminal window during the day. One can be in your Downloads folder and another can be in a Git project. Use pwd before you launch Codex if there is any doubt.
The command name by itself can be enough for day-to-day work once it is installed. Keep the CLI guide handy for later changes, such as an upgrade or a new sign-in method. Follow the current guide for the one install method you chose. Mixing methods can leave you with more than one version of the same command.
Fix Common Setup Problems
If the desktop app signs in but cannot see a file, check whether the current chat has a local folder. Then open the item in Finder and read its path. The folder name can be the same in two places. Confirm the path you added to the project before you ask again.
If you have the right folder and still get a permission error, try your sample folder. This helps you tell a broad app issue from a problem with that one folder. Some folders are managed by the Mac or by an organization. If you need help at work, bring the error message and the app version to your admin. Keep private file details out of a screenshot you share.
If the sign-in page opens but Codex still shows you as signed out, check that you used the account you want. Return to the app or Terminal window that started the sign-in. Record the screen that shows the problem and the name of the workspace if you have to ask for help. Share the error message without your sign-in code or credentials.
If the task says it needs write access but your request is only to read a note, restate what you want and stay with read-only. A request to edit a project belongs in a different task with clear limits. Set up a backup or create a Git checkpoint before you try any edits you may need to reverse.
Prepare the First Real Project
A project that is safe for one task can be too wide for another. For example, a folder for a small website can hold code, draft notes and a file with private keys. Check which files the task needs. If you only want it to review a public page, open a folder that holds that page and the code it uses. Keep account details in the place where you already manage them.
Set the goal before you decide what access to use. A request to explain how a file works can stay read-only. A request to fix a bug may need write access to the project. A request to post the fix to a live site is a separate choice. You can check the local change first and decide on the live step later.
When you use Git, check the state of the project before you ask for edits. Save or commit your own work in the way your team uses. You want to be able to tell your earlier changes apart from the edits Codex makes. Ask it to list the files it means to edit before you go on if the task has more than one part.
For work outside Git, keep a copy of the files you need before the first edit. Make sure you can get that copy back. Then choose a small change with a clear check. For example, ask Codex to fix a spelling error in a test page and show the changed line. Open the page and confirm the result yourself.
Keep the test and the real work easy to tell apart. Name the practice folder so that it is clear you can use it for trials. Give the real project a name you can match to its path. If both folders contain a file called notes.txt, ask for the path in the result so you can verify which one the task used.
For a task that sends data off your Mac, check where the data goes and whether you want to share it there. A local folder tells the tool where the file lives. It does not answer every question about how an app, tool or service uses that file. Check the controls for the chat, workspace and any tool that needs the data before you share it.
If you hand a project to another person, write down how to run the checks you used. Include the folder to open, the job to try and what it should show. Another person can run the same check without needing your account or a copy of unrelated files. That gives you a setup you can use again.
Did You Know?
OpenAI’s project guide makes a useful point about chats and local folders. A chat can sync across devices while the files in a project still live on one Mac. If you open the chat elsewhere, check which local files the task can reach before you ask it to continue.
Conclusion
Set up OpenAI Codex on Mac with one small folder and a test you can check. Use the app if you like a desktop workspace, or choose the CLI if you work in Terminal. Check the exact folder, use read-only mode for a review and ask it to read the sample file. Once that works, take the same steps with the real folder you need.
FAQs
Do I need Terminal to use Codex on a Mac?
You can use the desktop app on a Mac it supports. OpenAI also offers a separate Terminal tool called Codex CLI. Pick the path you prefer and check the official setup guide for it.
How do I know if the desktop download fits my Mac?
Open About This Mac and check the Chip or Processor line. Compare that with the download in OpenAI’s guide. The macOS desktop app download listed there is for Apple Silicon.
What is the simplest way to check a Codex CLI installation?
Open Terminal and enter codex –version. Check that it prints a version. Start Codex from the folder you want to work in and follow the sign-in steps if this is your first run.
Why can Codex talk to me but not see my files?
The task may have no local folder or it may point to the wrong one. Check the open project and the folder path. Test one file you made yourself before you give it more work.
Can I use Codex to check files without changing them?
Yes. Choose read-only access in the task when that option is available. Tell Codex which file or folder to read and what result you want. Read the tool requests while it works and keep the work in the selected folder.
