blnk connect
Point the CLI at a Core instance, store your API key locally, and confirm the instance responds before you run resource commands. Run this after install or whenever you switch environments (sandbox, staging, production).
| Argument | Type | Required | Description |
|---|---|---|---|
url | string | No | The URL of the Blnk Core instance to connect to. Include the protocol (http or https). |
| Option | Type | Description |
|---|---|---|
-h, --help | boolean | Show help for this command. |
Enter the instance URL and API key
If you did not pass a URL argument, the CLI prompts for the instance URL, then the API key:Press Enter at the API key prompt to skip if your instance does not require a key.
Verify health
While the CLI checks connectivity, you see a spinner such as
Testing connection health.blnk info
Confirm which Core URL the CLI is using and whether the last health check succeeded, without re-entering credentials. Use it when a command fails with auth or connectivity errors and you need to verify you are on the right instance.
| Option | Type | Description |
|---|---|---|
-h, --help | boolean | Show help for this command. |