---
title: "Host folders"
description: "Share a folder from your Mac with an environment, read-only or writable."
---

> Documentation Index
> Fetch the complete documentation index at: https://regent.c4n.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# Host folders

Nothing from your Mac is mounted by default. Share a folder when you create the environment:

```sh
regent create app --mount ~/code/app                  # at /home/regent/app
regent create app --mount ~/code/app:/srv/app         # somewhere else
regent create app --mount ~/code/app:ro               # read-only
```

Repeat `--mount` for more folders. Anything in the environment, agents included, can change a
writable mount's files on your Mac. For an agent you don't want touching your checkout, mount
it read-only or copy it in with `rsync`.

Source: https://regent.c4n.dev/docs/guides/mounts/index.mdx
