# grepai update

> CLI reference for grepai update

## grepai update

Update grepai to the latest version

### Synopsis

Check for and install the latest version of grepai from GitHub releases.

Examples:
  grepai update           # Download and install latest version
  grepai update --check   # Only check if update is available
  grepai update --force   # Update even if already on latest version

The command will:
- Fetch the latest release from GitHub
- Compare with current version
- Download the appropriate binary for your platform
- Verify checksum integrity
- Replace the current binary

```
grepai update [flags]
```

### Options

```
      --check   Only check for updates, don't install
      --force   Force update even if already on latest version
  -h, --help    help for update
```

### SEE ALSO

* [grepai](/grepai/commands/grepai/)	 - Semantic code search CLI

###### Auto generated by spf13/cobra on 30-Oct-2026
