# diagrid update

Update the Diagrid CLI to the latest version

### Description

Update the Diagrid CLI to the latest version. The binary will be updated in its
current installation location. Administrator privileges may be required.

By default, only stable releases are considered. Use --include-rc to also
consider release candidate versions (e.g., 0.31.0-rc.1).

```
diagrid update [flags]
```

### Examples

```

  # Update Diagrid CLI to latest version
  diagrid update

  # Auto approve updating the Diagrid CLI to latest version
  diagrid update --approve

  # Update to the latest release candidate (if newer than current)
  diagrid update --include-rc --approve
  
```

### Options

```
  -a, --approve      Auto approve updating the Diagrid CLI to newest version
  -y, --yes          Skip confirmation prompt
      --include-rc   Include release candidate versions when checking for updates
  -h, --help         help for update
```
