Foundations: Set Up Your AI-Native Workspace

Founder working in a modern Bali workspace with a realistic IDE open on a laptop overlooking rice terraces and ocean
Christian Acuna outdoors by the ocean

Written in by Christian Acuna Founder, AI-Native Founder

Set up your AI-native founder workspace on Mac: Ghostty, Homebrew, nvm, Node, Zed, Claude Code, and a first CLAUDE.md project folder.

Foundations Lesson 2 of 3

This lesson is part of the Foundations sequence. Read it in order or jump back to the table of contents.

Your agent needs somewhere real to work.

A chat window can answer questions. A workspace can hold context, files, decisions, tools, and review loops. That is the difference between asking AI for help and building an AI-native operating environment.

This foundation gets your Mac ready for that environment.

You are going to install a small operator stack: a terminal, Apple’s command line tools, a package manager, Node.js, an IDE, Claude Code, and a first project folder with CLAUDE.md.

Do not worry if some of those words are new. The goal is not to become an engineer overnight. The goal is to give yourself a clean place where an agent can read, plan, edit, and help you ship.

Key takeaways

  • The terminal is your control room. We recommend Ghostty as the starter terminal for this path.
  • Your Mac needs basic developer tools. Xcode Command Line Tools, Homebrew, nvm, and Node.js make modern AI and web tooling work.
  • Your IDE is where you review the workspace. We will start with Zed because it is fast, clean, and less overwhelming.
  • Claude Code is the agentic layer. It runs from your terminal and works inside your project folder.
  • `CLAUDE.md` is your operating note. It tells the agent what the project is, how to work, and what to avoid.
  • You only need five terminal commands to begin: pwd, ls, mkdir, cd, and open ..

Before you install anything

This guide is Mac-first. Windows and Linux workflows are possible, but branching too early makes the first setup harder than it needs to be.

A few rules before we start:

  • Use official docs as the source of truth. Install commands can change. If a command here differs from the official linked page, trust the official page.
  • Copy commands carefully. Run one step at a time.
  • Do not paste secrets into public tools. Keep API keys, passwords, private customer data, and sensitive personal material out of prompts and files unless you intentionally scope them.
  • Expect a little friction. Setup work is normal. If something says “already installed,” that is usually good news.

The stack you are installing

Here is the simple mental model:

  • Ghostty is the terminal: the place you type commands.
  • Xcode Command Line Tools are Apple’s developer basics.
  • Homebrew is the Mac package manager.
  • nvm + Node.js let you run modern JavaScript and AI tooling.
  • Zed is the IDE/editor where you inspect and edit files.
  • Claude Code is the agentic coding assistant that works in your project.
  • Your workspace folder is where durable context lives.

The model is not the whole system. The system is the model plus a real workspace it can understand.

Step 1: Install Ghostty

Your terminal is where you talk to your computer directly.

macOS already includes Terminal.app. You can use it. For this path, I recommend Ghostty because it is modern, fast, and visually clean enough that beginners do not feel like they are fighting the tool.

  1. Open Ghostty’s download page.
  2. Download the macOS universal binary.
  3. Install it like a normal Mac app.
  4. Open Ghostty.

Now run your first command:

pwd

pwd means print working directory. It tells you where the terminal currently is.

You have not built anything yet. That is fine. The first win is opening the control room.

Step 2: Install Xcode Command Line Tools

Many developer tools on macOS expect Apple’s command line tools to exist. Homebrew may prompt for them automatically, but it is better to install them directly.

In Ghostty, run:

xcode-select --install

A macOS dialog may appear. Follow the prompts.

When it finishes, verify with:

xcode-select -p

If you see a path printed back, you are good.

If the install fails or Apple says the tools are unavailable, use Apple’s developer downloads page: developer.apple.com/download/all.

Step 3: Install Homebrew

Homebrew is the package manager for macOS. It lets you install and update tools without hunting for random downloads.

Open the official page: brew.sh.

At the time of writing, the Homebrew install command is:

/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"

Run it in Ghostty.

Homebrew may print a few commands at the end telling you to add Homebrew to your shell profile. Copy and run the exact commands Homebrew prints for your machine.

Then verify:

brew --version
brew doctor

If brew doctor prints warnings, do not panic. Warnings are common. We mostly want to confirm that brew exists and can run.

Homebrew’s installation docs are here if you need the source of truth: Homebrew Installation.

Step 4: Install nvm and Node.js LTS

Node.js powers a huge amount of modern web and AI tooling. nvm means Node Version Manager. It lets you install and switch Node versions without breaking your system.

Open the official nvm repo: github.com/nvm-sh/nvm.

Use the latest install command from that page. After installation, close and reopen Ghostty if nvm is not found.

Then install the long-term support version of Node:

nvm install --lts
nvm use --lts
node --version
npm --version

You should see version numbers printed back for node and npm.

That means your Mac can now run the JavaScript tooling that many modern products, websites, and agents depend on.

Step 5: Install Zed

An IDE is where you read and edit the files in your workspace.

We will start with Zed because it is fast, simple, and less visually noisy than many fully loaded development environments. VS Code is also fine, but standardizing on one editor keeps the learning path clean.

  1. Open zed.dev/download.
  2. Download and install Zed.
  3. Open Zed once so macOS trusts the app.

If Zed offers to install command line integration later, you can accept it, but this lesson does not depend on that.

Step 6: Install Claude Code

Claude Code is the agentic coding assistant that runs from your terminal and works inside your project folder.

You will need access through a Claude subscription, Claude Console account, or supported provider. Anthropic’s docs are the source of truth:

At the time of writing, the native install command for macOS, Linux, and WSL is:

curl -fsSL https://claude.ai/install.sh | bash

After install, verify:

claude --version

Then launch Claude Code:

claude

Follow the authentication prompts in your browser or terminal.

If claude is not found, close and reopen Ghostty, then try again. If it still fails, return to Anthropic’s setup docs and follow the path update instructions for your shell.

Step 7: Learn the five terminal commands

You do not need to memorize the entire terminal. Start with five commands.

pwd — show where you are

pwd

This prints the current folder.

ls — list what is here

ls

This shows files and folders in the current location.

mkdir — make a folder

mkdir Projects

This creates a folder named Projects.

For nested folders, use -p:

mkdir -p ~/Projects/ai-native-workspace

cd — change folders

cd ~/Projects

This moves the terminal into your Projects folder.

To go into your workspace:

cd ~/Projects/ai-native-workspace

open . — open the current folder in Finder

open .

The dot means “this current folder.” On macOS, open . opens the current folder in Finder.

These five commands are enough to orient yourself, create a workspace, move into it, and inspect it visually.

Step 8: Create your first AI-native workspace

Now make the folder where your first AI-native work will live.

Run:

mkdir -p ~/Projects/ai-native-workspace
cd ~/Projects/ai-native-workspace
pwd
open .

You now have a real workspace directory.

Create a few folders inside it:

mkdir -p decisions projects examples
ls

You should see:

decisions
examples
projects

Now open the workspace in Zed:

zed .

If zed . does not work yet, open Zed manually and choose the ~/Projects/ai-native-workspace folder.

Step 9: Add CLAUDE.md

Inside Zed, create a file named:

CLAUDE.md

Paste this starter version:

# CLAUDE.md

## Project
This is my first AI-native founder workspace.

## Goal
Help me turn ideas into clear plans, drafts, experiments, and shipped artifacts.

## Working Style
- Plan before making changes.
- Keep steps small and reviewable.
- Explain assumptions.
- Do not invent facts, links, metrics, or sources.

## Privacy
- Do not expose API keys, passwords, private customer data, or sensitive personal information.
- Ask before using private material in public-facing work.

## Quality Bar
Output should be clear, useful, and specific enough that a founder can act on it.

This file is not magic because of the text itself. It is powerful because it creates durable context.

Instead of repeating your expectations in every chat, you put the operating rules in the workspace where the agent can read them.

Step 10: Run your first Claude Code session

Go back to Ghostty. Make sure you are inside the workspace:

cd ~/Projects/ai-native-workspace
pwd
ls

Then start Claude Code:

claude

Try this first prompt:

Read this workspace and tell me what is here. Then propose three small founder workflows I could build in this folder.

The first win is not writing code.

The first win is seeing the agent understand a real local workspace: folders, files, instructions, and a working context it can return to.

That is the beginning of AI-native work.

Troubleshooting

command not found: brew

Close and reopen Ghostty. If it still fails, Homebrew likely printed shell profile commands at the end of installation. Return to brew.sh or rerun the installer and copy the profile commands it prints.

command not found: nvm

Close and reopen Ghostty. If that does not work, return to the nvm install docs and follow the shell profile instructions for zsh.

command not found: claude

Close and reopen Ghostty. If it still fails, return to Claude Code setup and follow the installation/path instructions.

Xcode tools are already installed

Good. Move on.

Terminal or macOS asks for permissions

Read the prompt. If it is asking for access to files or folders you intentionally opened, allow it. If you are unsure, pause and check what app is asking.

What you have now

You now have the basic operator stack:

  • A terminal: Ghostty.
  • Mac developer basics: Xcode Command Line Tools.
  • A package manager: Homebrew.
  • A runtime manager: nvm.
  • JavaScript runtime: Node.js LTS.
  • An IDE: Zed.
  • An agentic coding assistant: Claude Code.
  • A workspace folder: ~/Projects/ai-native-workspace.
  • A project instruction file: CLAUDE.md.

That maps directly back to the flywheel:

  • Context: your workspace and CLAUDE.md.
  • Plan: Claude Code can inspect the folder and propose next steps.
  • Build: the agent can help create files and workflows.
  • Ship: later foundations will add Git, GitHub, review, and publishing.

The point of setup

Setup is not busywork.

It is the moment your work moves from scattered prompts into an environment that can compound.

A folder can hold decisions. A repo can hold history. A CLAUDE.md can hold operating rules. A terminal can run checks. An IDE can show you what changed. Claude Code can work across all of it.

That is the difference between using AI and operating AI-native.

When you are ready, continue to the next foundation: terminal fluency and navigating your workspace.

Review the AI-Native Flywheel or explore the curriculum.

Continue Foundations

This series is designed to build lesson by lesson.

Related posts

Terminal as Your AI Workshop

· 8 min read

Christian Acuna — Terminal as Your AI Workshop

Learn five beginner-safe terminal commands and create your first local Founder OS workspace for Claude Code, Finder, and Zed.

Stop Using AI in Scattered Chats. Build a Founder Command Center.

· 11 min read

Christian Acuna — Stop Using AI in Scattered Chats. Build a Founder Command Center.

Scattered AI chats do not compound. Build a founder command center: one place for context, agents, review loops, decisions, and safe AI-native execution.

Foundations: The AI-Native Flywheel

· 7 min read

Christian Acuna — Foundations: The AI-Native Flywheel

The starting point for the Foundations path: how AI-native founders move from one-off prompting to a repeatable Context → Plan → Build → Ship operating loop.