Getting started

Install iotk.

Install the IoTKit command line on the computer you will use to prepare your device. Choose the download for that computer, rather than the device you are provisioning.

iotk is one native executable. Public downloads require no account, source checkout, Docker or language runtime. You can use Homebrew or run an extracted archive directly.

With Homebrew on Mac or Linux

If you already use Homebrew, install from the IoTKit tap:

brew install boatkit-io/tap/iotk
iotk --version

If iotk is already installed through Homebrew, update it with brew upgrade iotk. The version command should print an iotk version and source revision.

Download a native archive

Choose the operating system and processor of the computer running iotk. On a Mac, About This Mac shows an Apple M-series chip or an Intel processor. On Windows, check Settings → System → About → System type. On Linux, uname -m reports aarch64 for ARM64 or x86_64 for x64.

ComputerDownload
Mac · Apple silicon (M-series)macOS ARM64 · tar.gz
Mac · IntelmacOS Intel · tar.gz
Linux · ARM64Linux ARM64 · tar.gz
Linux · x64Linux x64 · tar.gz
Windows · ARM64Windows ARM64 · ZIP
Windows · x64Windows x64 · ZIP

Each link resolves to the current published build. Published releases also include SHA-256 checksums and a build manifest. Use the checksum entry matching your archive's exact filename.

From an archive on Mac or Linux

  1. Extract the downloaded .tar.gz archive. The executable is named iotk.
  2. Open Terminal and change to the folder containing that executable. You can type cd , drag the folder into Terminal, then press Enter.
  3. Allow the file to run and check its version:
chmod +x ./iotk
./iotk --version

The ./ prefix runs the copy in your current folder. You can keep using this form without editing PATH, the list of folders your shell searches for commands. macOS release executables are signed and notarized.

From an archive on Windows

  1. Right-click the downloaded ZIP and choose Extract All.
  2. Open the extracted folder containing iotk.exe, then open PowerShell in that folder. Alternatively, type powershell in File Explorer's address bar and press Enter.
  3. Check the executable:
.\iotk.exe --version

The .\ prefix runs the executable in your current folder. You do not need to change PATH. Windows builds are not yet code signed.

Use a downloaded provisioning setup

If an application gave you a setup JSON, keep it private. For an archive installation, put the JSON in the same folder as the executable. Replace iotkit-provisioning.json below with your downloaded filename.

With Homebrew or iotk already on PATH:

iotk provision --setup iotkit-provisioning.json

From a Mac or Linux archive folder:

./iotk provision --setup iotkit-provisioning.json

From a Windows PowerShell archive folder:

.\iotk.exe provision --setup iotkit-provisioning.json

A delegated application setup supplies its own scoped preparation authority. It does not require iotk login. Ordinary IoTKit administration uses a separate team login.

Follow the prompts to choose and confirm the exact storage to erase. Image downloads, writing, complete readback and safe release are separate steps. Wait for the completion message before removing media. Printing the version or running from your own folder does not require administrator access; the storage writer requests the permission it needs.

Troubleshooting

The command is not found

Check that you extracted the archive and opened the terminal in the folder containing the executable. Use ./iotk on Mac/Linux or .\iotk.exe in PowerShell. If you installed with Homebrew, reopen your terminal and try iotk --version.

The executable does not run

Check that you selected your computer's operating system and processor. On Mac/Linux, check the execute permission with chmod +x ./iotk. A provisioning setup rejected by an older CLI needs the current compatible CLI.

No download is published

A download link reports unavailable until a compatible CLI has been published. Retry later. Downloading the command line never requires signing in to an IoTKit team.