> ## Documentation Index
> Fetch the complete documentation index at: https://developers.plane.so/llms.txt
> Use this file to discover all available pages before exploring further.

# CLI errors

This page helps you troubleshoot common issues you might run into when using the Plane CLI tools. It covers potential causes of errors and provides straightforward steps to resolve them.

## Failed to update Prime CLI

<div style={{color:"red"}}>
  Error: Failed to update Prime CLI, please contact support or try again later.
</div>

This error typically happens if you're using an older version of the Prime CLI. To fix it, follow these steps:

1. Start by taking a [data backup](/self-hosting/manage/backup-restore#backup-data) to be safe.
2. Run this command to remove the existing CLI:
   ```bash theme={null}
   rm -rf /usr/bin/prime-cli
   ```
3. Install the latest version of the CLI with:
   ```bash theme={null}
   curl -fsSL https://prime.plane.so/install/ | sh
   ```
