[](https://github.com/luludotdev/hwid/actions/workflows/ci.yml) [](https://www.npmjs.com/package/hwid) [


> Get the current system's unique hardware ID
``sh`
pnpm i hwid
`ts
import { hwid } from "hwid";
// detects platform automatically
const id: string = await hwid();
`
Supported platforms: windows, macos, and linux
`ts
// will only work on macos
import { hwid } from "hwid/macos";
const id: string = await hwid();
`
`sh``
pnpm dlx hwid@latest