configprivate
Validated on 14 Dec 2023 • Last edited on 13 Feb 2024
This command manages your Paperspace configuration. You can use it to set, get, and delete configuration values. Running this command without any subcommands prints your current configuration.
Your configuration is stored in a TOML file at ~/.paperspace/config.toml
.
For example, to set the current team, run:
pspace config set team "my-team"
Global Flags
These flags are available on all commands.
–log-level, -l (string, optional)
Enable debug logging. One of debug
, info
, warning
, error
, or critical
.
–json, -j (boolean, optional)
Output JSON
–api-key (string, optional)
A Paperspace public API Key used for authenticating requests
–help, -h (boolean, optional)
Show help for a command
pspace config get
This command gets a configuration value. You can pass a key to get a specific value, or you can pass no arguments to get all configuration values.
For example, to get the current team run:
pspace config get team
Arguments
The key to get.
[argument] (string, required)
The configuration key. One of team
, projects
, or locale
.
Global Flags
These flags are available on all commands.
–log-level, -l (string, optional)
Enable debug logging. One of debug
, info
, warning
, error
, or critical
.
–json, -j (boolean, optional)
Output JSON
–api-key (string, optional)
A Paperspace public API Key used for authenticating requests
–help, -h (boolean, optional)
Show help for a command
pspace config set
Set a configuration value.
Arguments
The key/value pair to set.
[argument] (string, required)
The configuration key. One of team
, projects
, or locale
.
[argument] (string, required)
The new configuration value.
Global Flags
These flags are available on all commands.
–log-level, -l (string, optional)
Enable debug logging. One of debug
, info
, warning
, error
, or critical
.
–json, -j (boolean, optional)
Output JSON
–api-key (string, optional)
A Paperspace public API Key used for authenticating requests
–help, -h (boolean, optional)
Show help for a command
pspace config delete
Delete a configuration value.
Arguments
The key to delete.
[argument] (string, required)
The configuration key. One of team
, projects
, or locale
.
Global Flags
These flags are available on all commands.
–log-level, -l (string, optional)
Enable debug logging. One of debug
, info
, warning
, error
, or critical
.
–json, -j (boolean, optional)
Output JSON
–api-key (string, optional)
A Paperspace public API Key used for authenticating requests
–help, -h (boolean, optional)
Show help for a command