Documentation Index
Fetch the complete documentation index at: https://mintlify.com/ara-home/ara/llms.txt
Use this file to discover all available pages before exploring further.
ara run executes a named script from your project’s package.json (or ara.toml) inside a configurable sandbox. By wrapping the process in a Linux seccomp-BPF filter, Ara can restrict which syscalls the script is allowed to make — limiting network access, filesystem mutations, or clock reads depending on the profile you choose. The node_modules/.bin directory is automatically prepended to PATH so locally installed binaries like tsc, eslint, or vitest are found without any extra configuration.
Usage
<script> must match a key in the scripts section of your package.json or ara.toml.
Flags
The sandbox profile to apply when executing the script. Accepted values are
open (alias: runtime), restricted, hermetic, and custom. See Profiles below for details.Profiles
Ara provides four built-in sandbox profiles that trade off between isolation and permissiveness:- open / runtime
- restricted
- hermetic
- custom
Default profile. The script runs with network access enabled and subprocess spawning allowed. Use this for development servers, scaffolding tools, or any script that needs to reach the internet or fork child processes.Equivalent
ara.toml entry:Profile comparison
| Profile | Network | Spawn subprocesses | Deterministic clock |
|---|---|---|---|
open / runtime | ✅ | ✅ | ❌ |
restricted | ❌ | ❌ | ❌ |
hermetic | ❌ | ❌ | ✅ |
custom | ❌ | ❌ | ❌ |
Script resolution
Ara looks up the script name in this order:- The
[scripts]section ofara.toml(if it exists). - The
scriptsobject inpackage.json.
package.json scripts work with ara run immediately, with no migration required.
Examples
PATH and bin links
Before executing the script, Ara constructs aPATH by prepending the absolute path to node_modules/.bin. This ensures locally installed binaries take precedence over globally installed ones:
npx wrapper is needed to invoke project-local tools.
Ara does not run npm lifecycle scripts (
preinstall, postinstall, prepare, etc.) during package installation. ara run only executes scripts you explicitly invoke by name.