use
set your default account
🎯 Set your default account.
Every command that needs an account uses this default, so you don't have to pass --account each time. The choice is saved on the server (so it follows you across machines) and cached locally.
Resolution order for any command: the --account flag, then this default, then the COMPUTESPHERE_ACCOUNT_ID environment variable.
csph auth login already sets this for you when your account has a server-side
default or when you have only one account. Use this command to change it.
Usage​
csph accounts use <account-id> [flags]
Aliases​
accounts use, accounts set, account use, account set
Options​
Inherited​
Examples​
# set your default account
> csph account use <account-id>
# `set` is an alias
> csph account set <account-id>
# see your accounts first
> csph account list
See also​
- csph accounts — manage accounts
- csph accounts get — get accounts
- csph accounts list — list accounts
- csph accounts create — create accounts