Are you trying to unlock the bootloader?
You have to make sure that you have installed fastboot and adb drivers.
Boot your phone in Fastboot mode, connect it to PC and then on a command prompt window (terminal) run the command:
This command should list id's of devices connected to your PC in Fastboot mode, in this case your phone id.