# nodus cloud inventory

> List the instances, GPUs or spend a cloud account's last sync saw

Source: https://www.nodus-compute.ai/docs/reference/cli/nodus_cloud_inventory/
Build revision: 4ebfc6023eeed1bd55d9969af1612182a7b0c7ff

## nodus cloud inventory

List the instances, GPUs or spend a cloud account’s last sync saw

```plaintext
nodus cloud inventory ACCOUNT [flags]
```

### Examples

```plaintext
  nodus cloud inventory aws-main
  nodus cloud inventory aws-main --resource gpus
```

### Options

```plaintext
  -h, --help              help for inventory
      --json              Print the response as JSON
      --resource string   instances, gpus or spend (default instances)
```

### 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 cloud](https://www.nodus-compute.ai/docs/reference/cli/nodus_cloud/) - Connect and inspect your cloud accounts

### Tested examples

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

Terminal window

```sh
nodus cloud inventory aws-main
```
