# upgrade (private) This command upgrades `pspace` to the latest version. If you used a package manager like `brew` to install `pspace`, you should use that to upgrade in order to avoid potential permissions issues. For example, for `brew` you can upgrade by running: ``` brew upgrade pspace ``` If you installed `pspace` using the install script, you can upgrade by running: ``` pspace upgrade ``` ## 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