#nzxt #led #fans #devices #tool

bin+lib nzxtcli

A simple NZXT tool for managing fans and LEDs

2 releases

Uses new Rust 2024

0.1.1 Jul 29, 2025
0.1.0 Jul 29, 2025

#3 in #fans

MIT license

20KB
439 lines

NZXT CLI

A simple NZXT tool for managing fans and LEDs.

Install

To build the tool from source code, You need:

  • Rust: Version specified in Cargo.toml or greater.
  • libudev and libcap
cargo install --path . --locked

How to use

List all devices:

nzxtcli list
Output

[
  {
    "vendor_id": 7793,
    "vendor_id_hex": "1e71",
    "product_id": 8210,
    "product_id_hex": "2012",
    "name": "NZXT RGB Controller",
    "firmware_version": "1.5.0",
    "rgb_channels": [
      {
        "id": 0,
        "led_count": 18,
        "devices": [
          {
            "id": 0,
            "id_hex": "00",
            "name": "F140 RGB fan (140mm)",
            "led_count": 18
          }
        ]
      },
      {
        "id": 1,
        "led_count": 18,
        "devices": [
          {
            "id": 0,
            "id_hex": "00",
            "name": "F140 RGB fan (140mm)",
            "led_count": 18
          }
        ]
      },
      {
        "id": 2,
        "led_count": 0,
        "devices": []
      }
    ]
  },
  {
    "vendor_id": 7793,
    "vendor_id_hex": "1e71",
    "product_id": 8225,
    "product_id_hex": "2021",
    "name": "NZXT RGB Controller",
    "firmware_version": "1.5.0",
    "rgb_channels": [
      {
        "id": 0,
        "led_count": 8,
        "devices": [
          {
            "id": 0,
            "id_hex": "00",
            "name": "F120 RGB Core fan (120mm)",
            "led_count": 8
          }
        ]
      },
      {
        "id": 1,
        "led_count": 8,
        "devices": [
          {
            "id": 0,
            "id_hex": "00",
            "name": "F120 RGB Core fan (120mm)",
            "led_count": 8
          }
        ]
      },
      {
        "id": 2,
        "led_count": 0,
        "devices": []
      }
    ]
  }
]

Set the same color for all LEDs on all devices:

nzxtcli set-color ffaabb

License

Licensed under MIT license (LICENSE or https://opensource.org/licenses/MIT)

Dependencies

~3–15MB
~130K SLoC