> For the complete documentation index, see [llms.txt](https://docs.k9.io/key9-identity/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.k9.io/key9-identity/ssh/installation-and-setup/determine-your-yubikey-type/2.-macos-ioreg-command.md).

# 2. MacOS "ioreg" command

Please ensure that your YubiKey is connected to your Mac, then open a MacOS "Terminal" window (Applications -> Utilities -> Terminal) and enter the following:

`ioreg -l | grep "USB Product Name" | grep -i yubikey`

You should see something similar to this:&#x20;

<figure><img src="https://2354768316-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FZbcN0W0VyihswJIdHDaE%2Fuploads%2F2Asii2HHVN07qeBPAbfw%2Fimage.png?alt=media&amp;token=3e59aee7-6e70-48f4-ad57-0a910253e8ac" alt=""><figcaption><p>Example of a Yubikey 5 NFC key</p></figcaption></figure>

An older Yubikey output might look like this:

<figure><img src="https://2354768316-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FZbcN0W0VyihswJIdHDaE%2Fuploads%2FssRCdKvT6YKAo8QQHozx%2Fimage.png?alt=media&amp;token=837161d0-e5f3-45d8-ab90-1fe475d94f71" alt=""><figcaption><p>Example of a Yubkey v2 key. </p></figcaption></figure>
