Connect the CLI
You need a ready Core URL and the instance's private JWT secret. Obtain them from your deployment or its operator. Keep the secret private; it grants instance authority, not an isolated personal login.
The CLI is primarily for your trusted Agent, and also supports manual terminal use. For your own interactive setup, start with Connect to Your Instance and choose the Web app. The CLI connects over HTTPS; it does not run another server on your computer.
Install Python 3.12 or later if needed. Check
python --versionin a terminal; usepython3if that is your system's command name.Create a local environment:
shpython -m venv .venvActivate it with
source .venv/bin/activateon macOS/Linux, or.venv\Scripts\Activate.ps1in Windows PowerShell. Then install the published CLI:shpython -m pip install inkcre-cli inkcre-cli --helpIn a local folder outside any Git repository, use a text editor to create
connection.json:json{ "base_url": "https://YOUR-CORE-HOST", "jwt_secret": "YOUR-SAVED-JWT-SECRET" }Replace both values, preserving the quotes. Use the Core base URL without
/readyz. This file contains a credential; keep it private.From that folder, save and check the connection:
shinkcre-cli connection set personal --input connection.json inkcre-cli connection use personal inkcre-cli connection checkBoth readiness and the authenticated read should succeed. You can remove the temporary
connection.jsonafterward: the CLI retains it at.inkcre/cli/connections.jsonin your home directory. Protect that file too.
Checkpoint: connection check can read your instance. For 401, check the secret; for a connection failure, check the Core URL and wake /readyz. In later terminal sessions, reactivate the environment before using inkcre-cli.
The CLI reference owns command details. --help explains a command; --schema on input-taking commands shows the configuration accepted by your running instance.
Next: Collect your first source.