Use Codex Remote Projects Across Hosts
guide2026-06-034 min read
Remote project turns any reachable folder on a connected machine into a Codex project, which makes local, Mac mini, and VPS workspaces feel much closer to the same operating surface.
codexremote-projectsworkflow
Summary
Codex can add a remote folder as its own project through the Add remote project dialog. The important idea is that the project boundary is no longer limited to the machine where the Codex app is running: a connected host such asmacmini or VPS-hk can expose a real folder path, and that folder then appears in the Codex sidebar like any other project.
This is useful when the working files already live on another machine, when a GPU or server environment matters, or when a repo should stay close to its deployment/runtime host.
What This Solves
Remote project solves the awkward gap between “Codex is on my desktop” and “the files I actually need are on another machine.” Instead of copying a repo back and forth or treating SSH as a separate manual workflow, Codex can connect to a configured host, browse a folder, and add that folder as a persistent project entry. In the captured UI, the same dialog can target different hosts:macmini, using a folder path under/Users/yueyhVPS-hk, using a folder path under/home/yueyh
Who This Is For
This is for anyone who uses Codex across more than one machine:- A local laptop or desktop for writing, reviewing, and orchestration
- A Mac mini for always-on local compute or shared workspace storage
- A VPS for server-side repos, deployments, LangFlow instances, or long-running services
- A remote machine where the repo, credentials, or runtime environment already exist
Prerequisites
- A connected remote host in Codex, such as
macminiorVPS-hk - A folder on that host that should become the project root
- Permission for Codex to read and work inside that folder
- A clear boundary for what should count as the project, such as
/Users/yueyh/frontend-slidesor/home/yueyh/langflow-yitwah
Remote project is a project-opening feature, not a replacement for environment setup. If the remote repo needs dependencies, credentials, GPUs, services, or ports, those still need to exist on the selected host.
The Workflow
Open the remote project dialog
Use Codex’s project controls to choose Add remote project. The dialog asks for a remote host and a folder path.
Choose the host
Select the connected host that owns the files. For a local network machine this might be
macmini; for a server this might be VPS-hk.Browse or type the folder path
Set the folder path to the parent directory you want to browse. The examples show
/Users/yueyh on macOS-style hosts and /home/yueyh on Linux-style hosts.Pick the actual project directory
Choose a concrete folder such as
langflow-docker, onyx_data, searxng, vibe-proving-math, or another repo/workspace listed under that host.Common Failure Modes
Final Checklist
- The intended remote host is selected, such as
macminiorVPS-hk - The folder path matches the host operating system, such as
/Users/yueyhor/home/yueyh - The selected folder is the actual project root, not only a broad parent directory
- The project appears in the Codex sidebar after adding it
- A new chat inside that project can read the expected files and run in the expected environment
What To Remember
Remote project is best understood as “bring the workspace to Codex without moving the workspace.” It is a clean way to keep server-side or machine-specific repos on the host where they belong while still giving Codex a normal project interface. For daily use, the rule of thumb is simple: connect the host, select the narrow project folder, add it once, and then treat it like any other Codex project.Metadata
Quick Reference
Typeguide
Statuspublished
Date2026-06-03
Retrieval Tags
codexremote-projectsworkflow
Related
Codex project setupremote development