---
title: "Inside an environment"
description: "Users, the home volume, and the tools every image has."
---

> 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.

# Inside an environment

## Linux

- **User:** `regent`, with passwordless sudo.
- **Home:** `/home/regent` is a persistent volume. Files, agent logins, shell history and the
  tailnet identity survive `regent reset`; `--wipe` replaces them.
- **Tools:** git, gh, build tools, ripgrep, fd, jq, tmux, sqlite3, Python 3 with
  [uv](https://docs.astral.sh/uv/), and Node.js LTS (`npm i -g` works without sudo).
- **Regent's tools** live in `/opt/regent` and come from the image. Put your own in
  `~/.local/bin`, which survives `reset`.

Other languages and versions are up to each project: apt, `uv python install`, or a version
manager in `~/.local/bin`:

```sh
curl https://mise.run | sh
```

Non-interactive ssh commands don't read login files. For tools installed in your profile, use
a login shell:

```sh
ssh regent-dev "bash -lc 'node --version'"
```

## macOS

- **User:** `admin`, with passwordless sudo.
- **Home:** inside the machine, not on a separate volume. `regent reset` needs `--wipe`, which
  replaces it.
- The `xcode` profile has Xcode and the simulators.

Source: https://regent.c4n.dev/docs/reference/inside/index.mdx
