Config Overview


The bacalhau config command is a parent command that offers sub-commands to modify and query information about the Bacalhau config. This can be useful for debugging, monitoring, or managing the nodes configuration.


bacalhau config [command]

Available Commands

  1. list:

    • Description: Lists the configuration keys and values of the bacalhau node. This command is useful for understanding how configuration keys map to their respective values, aiding in the use of the bacalhau config set command.

    • Usage:

      bacalhau config list
  2. set:

    • Description: Sets a value in the bacalhau node's configuration file. This command is used to modify the configuration file that the bacalhau node will reference for its settings.

    • Usage:

      bacalhau config set <key> <value>
  3. default:

    • Description: Prints the default configuration of a bacalhau node to the standard output (stdout). This command is beneficial for viewing the baseline settings a bacalhau node will use before any user-defined configuration changes are applied.

    • Usage:

      bacalhau config default
  4. auto-resources:

    • Description: Automatically sets compute resource values in the bacalhau node's configuration file based on the hardware resources of the user's machine. This command simplifies the process of allocating resources for jobs by dynamically adjusting the settings to match the machine's capabilities.

    • Usage:

      bacalhau config auto-resources

Last updated