CLI Devices
Connect machines running the Elizon CLI to your Organization, and revoke them.
Studio → Settings → CLI Devices lists the machines you've connected to this Organization with the Elizon CLI, and shows the command to connect another one.
Connect a device
The page shows the exact command for your Organization, with a Copy button:
npx @elizon/cli target add <your-elizon-address>Run it in a terminal on the machine. It prints a link and a code: open the link, check the code matches, and choose Approve. The full walkthrough is in Connect a device.
A device acts as you, in this Organization, with your role's permissions, so it can sign, install and list Packages exactly as far as your role allows.
Connected devices
Each device shows its name (by default elizon CLI on <user>@<machine>), when it was connected, when
it was last used, and whether it has expired or been revoked. Device tokens expire after 30 days.
The list shows the devices connected to the Organization you're in. Turn on All Organizations to see every device you've connected, in any Organization, with the Organization's name beside each. Use it when you're cutting off a lost laptop, so you don't miss one.
Revoke a device
Choose Revoke next to a device. It takes effect immediately: the device's next call fails, without waiting for its token to expire. Revoke a device when a laptop is lost, a CI credential is retired, or you no longer use a machine.
To use the CLI on that machine again, connect it again.
The approval page
When you open the link the CLI prints, you land on Connect a device (/studio/device). It shows
which device is asking, when the request was made and when it expires, plus what approving allows,
and the Organization the device will be connected to. If you belong to several, pick one. Picking
here doesn't switch the Organization you're working in.
Choose Deny if you didn't start the request. Codes expire after 10 minutes and work once.