Sdk cli

Installation

Install the ArmorIQ CLI and SDK via pipx, pip, uv, or npm. Verify your installation and understand when to use each installer.

The ArmorIQ Python package ships the armoriq CLI and the Python SDK as a single distribution — one install gives you both. The TypeScript SDK is a separate npm package for Node runtimes.

Python CLI + SDK

The CLI and SDK live in the same package (armoriq-sdk). For most users, pipx is the right installer because it puts the armoriq command on your shell's PATH in an isolated virtual environment — no conflict with your project dependencies.

pipx install armoriq-sdk
armoriq --version
# Only use pip if you want the SDK inside your project's virtualenv.
python -m venv .venv && source .venv/bin/activate
pip install armoriq-sdk
armoriq --version
# Installs the CLI globally via uv's tool manager.
uv tool install armoriq-sdk
armoriq --version

pipx vs pippipx installs the CLI globally in a hidden virtualenv; armoriq is on your PATH from any directory, and upgrades never break your project deps. pip install armoriq-sdk puts the SDK inside the currently active venv — useful when you're importing armoriq_sdk from your Python code and want the SDK pinned with your other project dependencies.

Verify the Python install

armoriq --help

You should see a list of subcommands including login, orgs, switch-org, init, validate, register, status, logs, whoami, and logout.

Requirements

  • Python 3.10 or later.
  • Supported on macOS, Linux, and Windows (WSL recommended on Windows for the best terminal experience).

TypeScript SDK

The TypeScript SDK is a library for Node.js runtimes. It does not ship a CLI — use the Python CLI for authentication even if your runtime is Node.

npm install @armoriq/sdk
pnpm add @armoriq/sdk
yarn add @armoriq/sdk

Verify the TypeScript install

node -e "console.log(require('@armoriq/sdk').ArmorIQClient.name)"

Prints ArmorIQClient if the package loaded successfully.

Requirements

  • Node.js 18 or later.
  • TypeScript 5.0 or later (if you're using TS directly).

What to install — decision tree

You're building…Install
A Python agent (CrewAI, Google ADK, LangChain, or raw client)pipx install armoriq-sdk
A Node/TypeScript agentpipx install armoriq-sdk and npm install @armoriq/sdk
Only using the CLI to manage keys and orgspipx install armoriq-sdk
Both a Python service and a Node serviceInstall both — they share ~/.armoriq/credentials.json

Install the Python CLI on any developer machine. It's the source of truth for armoriq login, armoriq orgs, and armoriq switch-org. The TypeScript SDK reads the same credentials file the CLI writes, so a single login works for both runtimes.

Next steps

On this page