CHROOT(1) General Commands Manual CHROOT(1)

# [NAME](#NAME)

chroot - Run COMMAND with root directory set to NEWROOT.

# [SYNOPSIS](#SYNOPSIS)

**chroot** \[OPTION]... NEWROOT \[COMMAND \[ARG]...]

# [DESCRIPTION](#DESCRIPTION)

Run COMMAND with root directory set to NEWROOT.

# [OPTIONS](#OPTIONS)

[**--groups** *&lt;GROUP1,GROUP2...&gt;*](#groups)

Comma-separated list of groups to switch to

[**--userspec** *&lt;USER:GROUP&gt;*](#userspec)

Colon-separated user and group to switch to.

[**--skip-chdir**](#skip)

Use this option to not change the working directory to / after changing the root directory to newroot, i.e., inside the chroot.

[**-h**, **--help**](#h)

Print help

[**-V**, **--version**](#V)

Print version

# [VERSION](#VERSION)

v(uutils coreutils) 0.12.0

2026-10-12

---

Document: chroot(1) from uutils 0.12.0-r3 (Chainguard OS)
Source: https://github.com/uutils/coreutils
