| Crates.io | s5_cli |
| lib.rs | s5_cli |
| version | 1.0.0-beta.1 |
| created_at | 2025-11-26 15:07:10.956877+00 |
| updated_at | 2025-11-26 15:07:10.956877+00 |
| description | Command line interface for the S5 decentralized storage network |
| homepage | |
| repository | https://github.com/s5-dev/s5-rs |
| max_upload_size | |
| id | 1951513 |
| size | 200,548 |
The command-line interface for S5.
cargo install --git https://github.com/s5-dev/s5-rs s5_cli
The s5 command provides several subcommands to interact with S5 nodes, stores, and filesystems.
Manage node configuration (stores, peers, identity).
# Create or update the default node config
s5 config init
# Then edit ~/.config/s5/local.toml to add stores and peers,
# following docs/reference/configuration.md.
Import data into the default blob store and FS5 root.
# Import local directory
s5 import local ./my-data
# Import from HTTP
s5 import http https://example.com/
Low-level blob operations.
s5 blobs upload --peer my-peer ./file.txt
s5 blobs download --peer my-peer --out ./file.txt <hash>
s5 blobs delete --peer my-peer <hash>
# Dry-run local GC for the "default" store
s5 blobs gc-local --store default --dry-run
# Apply local GC (after inspecting the dry run)
s5 blobs gc-local --store default
# Verify that all referenced blobs exist in the store
s5 blobs verify-local --store default
Manage FS5 snapshots.
s5 snapshots list-fs
s5 snapshots create-fs
s5 snapshots restore --peer my-peer --hash <hash> --root ./restore-dir
Mount the FS5 filesystem via FUSE.
s5 mount ./mnt
Start the S5 node (usually run in background or via systemd).
s5 start