Install

Read when: installing or updating tlnt, or handling a version notice.

Requirements

tlnt is not restricted to macOS or Apple Silicon. Use a system supported by Python 3.11–3.14 and the dependencies required for your login method.

  • Python 3.11–3.14
  • uv, the recommended Python package manager (or pipx / pip)
  • Google Chrome or Microsoft Edge (used for login)
  • A Talenta account authorized for the actions you perform

Install methods

tlnt is published on PyPI as tlnt-cli, so no GitHub access is needed. Pick one install method below.

Method Command When to use
PyPI uv tool install tlnt-cli Default. Persistent tlnt on PATH.
pipx / pip pipx install tlnt-cli or pip install tlnt-cli Same result without uv.
Ephemeral uvx --from tlnt-cli tlnt --config ./config.json status --json One-shot run. Re-resolves every invocation and leaves no tlnt on PATH.
From source git clone https://github.com/fathirazarthuro/tlnt && cd tlnt
uv sync && uv run tlnt --help
Local changes or development. Needs access to the private repository.

Examples use tlnt directly, which assumes a persistent install. With the Ephemeral method prefix each command with uvx --from tlnt-cli; from a source checkout prefix it with uv run.

Next, create the config file and sign in; see Setup. Never commit the local config or session.

Update and version check

tlnt update

tlnt update

Installs the latest PyPI release when it is newer than the installed version: it reads the newest version from PyPI and runs uv tool install tlnt-cli==<version> --force. It needs uv on PATH. It takes no options, prints uv's output instead of a JSON result, and exits with uv's exit code. When the installed version is current or newer, it says so and exits 0 without installing. If uv is missing, PyPI cannot be read, or the newest version is not a plain X.Y.Z number (for example a pre-release), it prints the reason on stderr and exits 1.

With pipx or pip, run pipx upgrade tlnt-cli or pip install -U tlnt-cli instead. The Ephemeral method re-resolves on every run and needs no update.

Installed tlnt 1.5.0 or earlier, when the package was still named tlnt? Switch once:

uv tool install tlnt-cli --force && uv tool uninstall tlnt && uv tool install tlnt-cli --force

If the first install fails, nothing changes. Uninstalling the old package also removes the tlnt command, so the last install puts it back. After that, tlnt update works.

tlnt update notice

Every command except update also checks PyPI for a newer tlnt. If the newest release is newer than the installed version, one notice is written to stderr before the command runs:

⚠️ tlnt v1.4.0 is installed, but v1.5.0 is available. Run `tlnt update` to update.
  • The notice is advisory. Stdout, --json results, result codes, and exit codes are unchanged.
  • The PyPI lookup times out after 3 seconds and its result, a failed lookup included, is cached for 24 hours in pypi_version.json in the user cache directory. Network, parsing, or cache errors are silent, and pre-release or non-numeric versions are ignored.
  • The check never updates tlnt by itself. Run tlnt update explicitly.

Google Play version notice

Talenta requests send the mobile app version from app_version (or TALENTA_APP_VERSION). Every command except update compares that effective value with the latest version in the Talenta Google Play listing. If they differ, one notice is written to stderr before the command runs:

⚠️ Talenta app v2.123.0 is configured, but v2.125.0 is on Google Play. Set "app_version" to "2.125.0" in /path/to/config.json (or TALENTA_APP_VERSION), then run `tlnt logout` and `tlnt login`.
  • The notice is advisory. Stdout, --json results, result codes, and exit codes are unchanged.
  • The Play lookup times out after 3 seconds and its result, a failed lookup included, is cached for 24 hours in the user cache directory. Network, parsing, or cache errors are silent.
  • The check never logs out, logs in, or updates tlnt by itself. Update app_version, then run tlnt logout and tlnt login explicitly.
  • user_agent_mobile (TALENTA_USER_AGENT_MOBILE) sets the mobile User-Agent used for token exchange; see Setup.

Mekari status notice

Every command except update also reads the public Mekari status page. If a watched monitor is down, one notice is written to stderr before the command runs:

⚠️ status.mekari.com reports down: Platform - SSO (since 2026-11-27 03:05 WIB). See https://status.mekari.com/
  • The notice is advisory and never blocks a command. Stdout, --json results, result codes, and exit codes are unchanged.
  • The watched monitors are Talenta - Core, Talenta - API Mobile, Talenta - API Mobile Internal, and Platform - SSO. The other monitors on the page (Jurnal, KlikPajak, Mekari Sign, Mekari Credit) are ignored because tlnt does not call them.
  • Down means any status other than up or paused, so a paused monitor prints nothing. The "since" time is when the monitor's latest downtime started, in WIB.
  • The lookup times out after 3 seconds and its result, a failed lookup included, is cached for 1 hour in mekari_status.json in the user cache directory. Network, parsing, or cache errors are silent.
  • The check only reads the public page; it never sends your session or config.