
Roman Garbar
noviembre 30, 2026
You can now set up, inspect, and validate your Tenjin SDK integration using the command line, whether you’re doing it yourself or using a coding agent.

Every SDK integration ends the same way: did it actually work? Maybe you copied a key from the wrong platform, called initialization in the wrong file, or skipped a ProGuard rule. You might not even notice until a few days later, when the delivery to your dashboard is an empty set.
We’ve recently rolled out the Tenjin CLI to fix that uncertainty. It handles the terminal side of integrating with the Tenjin SDK, with just one command. From there, it scans your project, sets up your apps and SDK keys, and most importantly, runs checks on your integrations. It then verifies that Tenjin received the install.
It works on macOS, Linux, and Windows and covers native iOS, native Android, Flutter, React Native, Capacitor, and Unity.
What Does the Tenjin CLI Do?
It runs four steps, in the same order you would’ve handled them yourself:
• Detect. It reads your framework, platforms, bundle IDs, startup file, and ad SDKs. Next, it suggests Tenjin features your code already supports, like purchases, ad revenue, or deep links.
• Set up. It signs you in through your browser and locates or creates the Tenjin app for each build. It also checks every SDK key, so a wrong key or one meant for a different platform gets caught before you build.
• Check. tenjin doctor looks at the integration on disk: SDK version, initialize and connect calls, Android permissions and ProGuard rules, iOS tracking and SKAN settings. Each issue comes with a fix that names the file, the line, and the SDK version.
• Verify. tenjin doctor --device pulls logs from a connected device. It shows what the SDK sent, how Tenjin responded, and whether the install was processed.
Managing configurations from a terminal is convenient. It allows you to know whether the data landed and processed the install.
Built for Developers and Their Coding Agents
The Tenjin CLI never writes your integration code. That’s up to you or your coding agent. At Tenjin, we drew that line of purpose. We believe a tool that verifies the work shouldn’t be the one doing it.
• Hands off, then check. If Claude Code or Codex is installed, tenjin setup can launch it with the open problems as its task. When the agent finishes, setup lists the changed files and runs the checks itself instead of taking the agent’s word.
• Agents never see your keys. The agent writes a placeholder, and the CLI inserts the real SDK key afterward. The CLI itself never prints a full key or credential, only the last four characters.
• Tight limits by default. Claude Code can edit project files and run a few Tenjin commands, nothing else. Codex runs in its sandbox with no network, and MCP servers, plugins, and hooks are turned off.
• Teach any agent. tenjin agent install sets up Claude Code, Codex, Cursor, Copilot, or Gemini CLI to use the CLI.
• Ready for scripts and CI. Every command except setup supports –json and never prompts when no one is at the terminal. JSON fields are added, never renamed. Exit codes are documented, so doctor returning 9 can fail a build before a broken integration ships.
“Agents are good at writing integration code. They’re less good at proving it works. So we let your agent write, and we do the checking, on a real device, against our own servers.” — Jaspreet Bassan, Product Manager at Tenjin
Cómo empezar
Install the CLI:
# macOS or Linux
brew install tenjin/tap/tenjin
# Windows (PowerShell)
irm https://raw.githubusercontent.com/tenjin/tenjin-cli/main/install.ps1 | iexThen run one command from your app’s project folder:
tenjin setupSetup walks you through seven steps: choose features, sign in, create the app for each build, check SDK keys, add the SDK (by hand or with an agent), run doctor until it’s clean, and verify a launch.
A few things to know:
• You need a Tenjin account for apps and SDK keys. Detect, check, and docs search work without one.
• Use a physical device to confirm attribution. Launch verification needs adb for Android or Xcode for iOS. Simulators and emulators are accepted, but they’re excluded from attribution.
• Unreal is detected but not yet fully supported. doctor doesn’t check it yet, and setup can’t verify its launch.
• Privacy is built in. Telemetry is one anonymous event per command, with no paths, bundle IDs, keys, or code. Run tenjin telemetry off to disable it.
Trust Your Data From the First Install
Precise measurement starts with an integration you can trust. The Tenjin CLI turns the command line into a confirmation, whether you integrate by hand or with an agent.
- Install it from the Tenjin CLI repository on GitHub, which lists every install method.
- Read what’s new in the changelog.
- Not on Tenjin yet? Start for free and grow your plan as you scale. Our team is here if you need a hand.
Questions or ideas? Open an issue on GitHub or email support@tenjin.com.


















































