config

Show, initialize, and update .rinne/config.json.

Back to CLI Commands

config manages workspace-level defaults such as default parallelism and zstd compression level.

zstdLevel affects only newly created CAS chunks. Existing chunks are not recompressed when you change the setting later.

Usage
rinne config show
rinne config init
rinne config set [--parallel <N>] [--zstd <1-22>]
rinne config path
Commands
show
Show the config file path, stored values, and effective defaults.
init
Overwrite .rinne/config.json with the template.
set
Update --parallel, --zstd, or both while preserving other values.
path
Print the config file path for the current workspace.
Options
--parallel <N>
Set the default degree of parallelism used by commands that support it. N must be a positive integer.
--zstd <1-22>
Set the zstd compression level used for newly created CAS chunks only.
Examples
Show the current config and effective defaults
rinne config show
Write a fresh config template
rinne config init
Set both parallelism and zstd level
rinne config set --parallel 8 --zstd 9
Show where config.json is stored
rinne config path
Notes
  • Choose a zstdLevel early when possible. Changing it later is safe, but the workspace may end up with mixed compression levels across old and new chunks.
  • Old chunks are removed only when they become unreachable and are later cleaned by rinne gc.