nono-cli-0.6.0 is not a library.
nono-cli
CLI for capability-based sandboxing using Landlock (Linux) and Seatbelt (macOS).
Installation
Homebrew (macOS)
Cargo
From Source
Usage
# Allow read+write to current directory
# Separate read and write permissions
# Multiple paths
# Block network access
# Use a built-in profile
# Start an interactive shell inside the sandbox
# Check why a path would be blocked
# Dry run (show what would be sandboxed)
Built-in Profiles
| Profile | Command |
|---|---|
| Claude Code | nono run --profile claude-code -- claude |
| OpenCode | nono run --profile opencode -- opencode |
| OpenClaw | nono run --profile openclaw -- openclaw gateway |
Command Blocking
Dangerous commands are blocked by default:
| Category | Commands |
|---|---|
| File destruction | rm, rmdir, shred, srm |
| Disk operations | dd, mkfs, fdisk, parted |
| Permission changes | chmod, chown, chgrp |
| Privilege escalation | sudo, su, doas |
Override with --allow-command:
Documentation
License
Apache-2.0