Global Options
These options work with all commands.--silent, -s
Suppress all nono output (banner, summary, status messages). Only the executed command’s output will be shown.
Commands
nono run
Run a command inside the sandbox.
nono why
Check why a path would be blocked or allowed.
nono setup
Set up nono on this system. Verifies installation, tests sandbox support, and optionally generates example profiles.
nono run Options
Directory Permissions
These flags grant recursive access to directories and all their contents.--allow, -a
Grant read and write access to a directory.
--read, -r
Grant read-only access to a directory.
--write, -w
Grant write-only access to a directory.
File Permissions
These flags grant access to individual files only (non-recursive).--allow-file
Grant read and write access to a single file.
--read-file
Grant read-only access to a single file.
--write-file
Grant write-only access to a single file.
Network Control
--net-block
Block all network access. Network is allowed by default.
Network access is currently binary - either all outbound connections are allowed, or all are blocked. There is no per-host or per-domain filtering.Granular network filtering (e.g., allowing only specific domains like
api.anthropic.com) is a desired feature but not yet supported. Apple Seatbelt has technical limitations that make per-host filtering challenging and would require significant experimentation to implement correctly. This feature may be added in a future release.Secrets Options
--secrets
Load secrets from the system keystore (macOS Keychain / Linux Secret Service) and inject them as environment variables.
- Loaded before the sandbox is applied (keystore access blocked after)
- Auto-named by uppercasing:
openai_api_keybecomes$OPENAI_API_KEY - Zeroized from memory after
exec()
Profile Options
--profile, -p
Use a named profile (built-in or from ~/.config/nono/profiles/).
--workdir
Working directory for $WORKDIR expansion in profiles (defaults to current directory).
--trust-unsigned
Trust unsigned user profiles. Required for profiles without signatures.
Operational Flags
--dry-run
Show what capabilities would be granted without actually executing the command or applying the sandbox.
--verbose, -v
Increase logging verbosity. Can be specified multiple times.
| Flag | Level | Output |
|---|---|---|
| (none) | Error | Only errors |
-v | Info | Informational messages |
-vv | Debug | Detailed debug output |
-vvv | Trace | Full trace output |
--config, -c
Specify a configuration file path.
Configuration file support is planned for a future release.
nono why Options
<PATH> (required)
The path to check.
--suggest
Show what flags would grant access to this path.
nono setup Options
--check-only
Only verify installation and sandbox support, don’t create any files.
--profiles
Generate example user profiles in ~/.config/nono/profiles/.
--shell-integration
Show shell integration instructions (aliases, etc.).
--verbose, -v
Show detailed information during setup. Can be specified multiple times.
Exit Codes
| Code | Meaning |
|---|---|
| 0 | Command executed successfully |
| 1 | nono error (invalid arguments, sandbox failure) |
| * | Exit code from the executed command |
Path Resolution
All paths are canonicalized before the sandbox is applied:- Relative paths are resolved to absolute paths
- Symlinks are followed and resolved
- Parent directory references (
..) are resolved
