<!-- Copyright (c) 2026 defconxt. All rights reserved. -->
<!-- Licensed under AGPL-3.0 — see LICENSE file for details. -->
<!-- NERF is a trademark of defconxt. -->

---
name: nerf-update
description: Update NERF to the latest version from npm
metadata:
  author: defconxt
  version: "2.0"
  domain: nerf
  tags: [update, maintenance]
---

# NERF Update

Check the current version and update to the latest from npm.

## Usage

```bash
nerf update
```

## How It Works

1. Reads current version from `cli/package.json`
2. Checks npm registry for latest published version
3. If newer version available, runs `npm install -g nerf-pi@latest`
4. Reports old → new version

## Manual Update

```bash
npm install -g nerf-pi@latest
nerf version
```
