NeoIQ Localize

Authentication

The CLI needs an API key to talk to NeoIQ Localize. You can sign in once in a browser or provide environment variables for CI and headless environments.


Sign in (interactive)

npx @neoiq/localize@latest auth login

This opens a browser and creates a local session file at ~/.neoiq-localize. Commands like init and translate will prompt for login if no session is found.


Sign out

npx @neoiq/localize@latest auth logout

Check current user

npx @neoiq/localize@latest auth whoami

Environment variables (CI or headless)

Set these environment variables in your shell, CI secrets, or a local .env file:

  • NEOIQ_LOCALIZE_API_KEY: API key for authentication
  • NEOIQ_LOCALIZE_PROJECT_ID: Project ID to translate into

You can find both in the NeoIQ Localize Dashboard.

The CLI also accepts per-command overrides:

npx @neoiq/localize@latest translate --api-key org_xxx --project-id prj_xxx

Custom base URL (optional)

If you are using a self-hosted or staging deployment, set:

  • NEOIQ_LOCALIZE_BASE_URL: Base URL for the API (defaults to https://localize.neoiq.dev)

How is this guide?

Edit on GitHub

Last updated on

On this page