# nodus diff

> Show what apply would change, from a server dry-run (exit 1 when there are differences)

Source: https://nodus-platform-site.pages.dev/docs/reference/cli/nodus_diff/
Build revision: 211ad9f836655b1c3a2668c4693e442471f28614

## nodus diff

Show what apply would change, from a server dry-run (exit 1 when there are differences)

```plaintext
nodus diff -f FILE [flags]
```

### Options

```plaintext
  -f, --filename strings   Manifest file, directory or - for stdin
  -h, --help               help for diff
  -R, --recursive          Read directories recursively
```

### Options inherited from parent commands

```plaintext
      --context string   Context from the config file to use
      --org string       Organization (selects the context for that org)
  -p, --project string   Project to work in
  -v, --verbose          Log each API request (never credentials)
```

### SEE ALSO

* [nodus](https://nodus-platform-site.pages.dev/docs/reference/cli/nodus/) - Run compute Jobs on Nodus

### Tested examples

These invocations run in CI against the CLI’s fake API.

Terminal window

```sh
nodus diff -f job.yaml
nodus diff -f job-v2.yaml
```
