View and change CLI configuration from the command line.
Usage
# Show all configuration valuespinner config# Get a specific valuepinner config get <key># Set a valuepinner config set <key> <value>
Show all configuration
pinner config
Displays all configuration values in a table with Key, Value, Env, and Description columns.
Get a value
pinner config get base_endpointpinner config get secure
Set a value
# Change the base endpointpinner config set base_endpoint "pinner.xyz"# Disable HTTPSpinner config set secure false# Increase retry attemptspinner config set max_retries 5# Set memory limit for CAR generation (MB)pinner config set memory_limit 256# Set IPFS gateway overridepinner config set gateway_endpoint "https://inbrowser.link"# Set default API timeoutpinner config set default_timeout 60s# Preview a change without savingpinner config set memory_limit 256 --dry-run
Configuration keys
Key
Type
Default
Description
base_endpoint
string
""
Base URL for Pinner service (e.g., pinner.xyz). Subdomains are derived automatically (e.g., account.pinner.xyz, ipfs.pinner.xyz). Leave empty for default.
secure
bool
true
Use HTTPS for endpoints
max_retries
int
3
Maximum retry attempts for failed operations (0–10)
memory_limit
int
100
Memory limit in MB for CAR generation (1–10240)
gateway_endpoint
string
""
IPFS gateway URL (e.g., https://inbrowser.link). Falls back to the ipfs subdomain of the base endpoint.
default_timeout
duration
30s
Default timeout for API operations (e.g., 30s, 1m)
upload_timeout
duration
5m
Timeout for upload, download, and benchmark operations (e.g., 5m, 10m)
sync_timeout
duration
1m
Timeout for reconciliation, cleanup, and sync operations (e.g., 1m, 2m)
auth_token
string
""
JWT authentication token for API access. Managed by pinner auth.
Environment variables
Every configuration key can also be set via an environment variable with the PINNER_ prefix, uppercased and with hyphens replaced by underscores: