FlureeLabs

fluree remote

Manage remote servers for syncing ledgers.

Subcommands

SubcommandDescription
addAdd a remote server
removeRemove a remote
listList all configured remotes
showShow details for a remote

fluree remote add

Add a remote server configuration.

Usage

fluree remote add <NAME> <URL> [OPTIONS]

Arguments

ArgumentDescription
<NAME>Remote name (e.g., origin)
<URL>Server URL (e.g., http://localhost:8090)

Options

OptionDescription
--token <TOKEN>Authentication token (or @filepath to read from file)

Examples

# Add a remote without authentication
fluree remote add origin http://localhost:8090

# Add a remote with inline token
fluree remote add prod https://api.example.com --token eyJ...

# Add a remote with token from file
fluree remote add staging https://staging.example.com --token @~/.fluree/staging-token

fluree remote remove

Remove a remote configuration.

Usage

fluree remote remove <NAME>

Arguments

ArgumentDescription
<NAME>Remote name to remove

Examples

fluree remote remove origin

fluree remote list

List all configured remotes.

Usage

fluree remote list

Output

┌─────────┬─────────────────────────────┬───────┐
│ Name    │ URL                         │ Auth  │
├─────────┼─────────────────────────────┼───────┤
│ origin  │ http://localhost:8090       │ none  │
│ prod    │ https://api.example.com     │ token │
└─────────┴─────────────────────────────┴───────┘

fluree remote show

Show detailed information about a remote.

Usage

fluree remote show <NAME>

Arguments

ArgumentDescription
<NAME>Remote name

Output

Remote:
  Name: origin
  Type: HTTP
  URL:  http://localhost:8090
  Auth: token configured

See Also

  • upstream - Configure upstream tracking
  • clone - Clone a ledger from a remote
  • fetch - Fetch refs from a remote
  • token - Create authentication tokens