Start by checking the runtime you are actually using. Commands and provider availability can vary between ARC releases.
arc --version
arc afs --helpVerified on arc 2.0.0-beta.28:
2.0.0-beta.28arc afs
AFS file system operations (ls, read, write, stat, exec, search, mount…)
Commands:
arc afs ls [path] List directory contents [aliases: list]
arc afs read <path> Read file content [aliases: cat]
arc afs write <path> [content] Write content to file
arc afs delete <path> Delete file or directory [aliases: rm]
arc afs stat <path> Get file or directory info
arc afs exec <executable_path> Execute an action
arc afs explain [topic] Explain AFS concepts or paths
arc afs search <path> <query> Search for content within an AFS path
[aliases: grep, find]
arc afs mount Mount managementThese commands only report the installed version and available AFS command surface. They do not invent mounts or storage for you.
What to do next
- Prefer read-only inspection first:
ls,stat,read,explain, andsearchon paths that already exist on your instance. - Do not begin with
write,delete, orexecagainst an unknown path. A path is meaningful only after the target instance has a provider and mount configuration. - Continue with local inspection for a verified walk of a running instance.
- Read the core contract before relying on an operation in application code.
Related CLI man page
The full arc afs flag reference lives in the arc-cli board. This AFS board explains the path, capability, and provider contract; it does not restate every CLI flag.
Environment notes
arc afstalks to the local AFS surface available to your CLI session (typically a running daemon). Paths and mounts on your machine are not universal defaults.mount listcan print provider URIs that include credentials. Treat that output as secret material; redact before sharing or pasting into issues.- Adding a mount with
arc afs mount addmay report success while subsequentls/readstill fail on that path. Confirm withstat/lsbefore documenting a new mount as usable. See Runtime boundaries.