Skip to content

rsconnect server set-default#

Mark an already-saved server as the default. The default is used when neither -n/--name nor -s/--server is given to other commands. This only updates local metadata; the server is not contacted. Prefer -n/--name; -s/--server must match the stored URL exactly.

Usage:

rsconnect server set-default [OPTIONS]

Options:

  -n, --name TEXT    The nickname of the server to set as the default.
  -s, --server TEXT  The URL of the server to set as the default.
  -v, --verbose      Enable verbose output. Use -vv for very verbose (debug)
                     output.
  --help             Show this message and exit.