Automic VaultAutomic Vault

brew

Install kdoctor with Homebrew, Nix

Environment diagnostics for Kotlin Multiplatform Mobile app development. Version 1.1.0 via Homebrew; verified 2026-06-22.

install

Additional install commands

macOS

Homebrewverified · 100%
brew install kdoctor

local Homebrew formula metadata

Linux

Nixverified · 92%
nix profile install nixpkgs#kdoctor

nixpkgs package indexes · pkgs/by-name/kd/kdoctor/package.nix · source: api.github.com

overview

Package summary

Environment diagnostics for Kotlin Multiplatform Mobile app development

Commands and aliases

  • kdoctor

history

Project history and usage

KDoctor is a Kotlin-team command-line diagnostic tool for checking whether a macOS development environment is ready for Kotlin Multiplatform Mobile work. It tests the surrounding toolchain rather than compiling Kotlin code itself: operating system, JDK, Android Studio, Xcode, CocoaPods, and related setup details.

Project history

The GitHub repository was created on 2022-01-17 under the Kotlin organization, and its first public pre-release, v0.0.1, was published on 2022-02-04. The README presents it as a JetBrains incubator project and documents the simple `kdoctor` workflow for diagnosing a Kotlin Multiplatform Mobile environment.

The 2022-05-20 Kotlin Multiplatform Mobile beta roadmap update singled out KDoctor as a tool for improving onboarding. Its release history moved from the 0.0.x series in 2022 to v1.0.0 on 2023-03-15, with v1.0.0 adding project-analysis diagnostics and team-id reporting.

Adoption history

KDoctor's adoption is tied to Kotlin Multiplatform Mobile onboarding: it is used by developers and support channels to quickly identify missing or mismatched macOS, Android, Xcode, Java, or CocoaPods setup. Homebrew packaging made it convenient for macOS developers to install as a standalone diagnostic command.

How it is used

The normal workflow is to run `kdoctor` in a terminal and review its report before building or debugging a Kotlin Multiplatform Mobile project. Later releases added more specific diagnostics, including analysis of Gradle project configuration via command-line options.

Why package nerds care

KDoctor is notable as a single-purpose ecosystem health check: it turns a traditionally fragile mobile cross-toolchain setup into one small package-manager-installable command. For package nerds, it is the kind of glue CLI that captures the real state of an SDK stack better than a version number alone.

Timeline

  • 2022-01-17: GitHub repository created under the Kotlin organization.
  • 2022-02-04: v0.0.1 pre-release published.
  • 2022-05-20: JetBrains' Kotlin Multiplatform Mobile beta roadmap update highlighted KDoctor for onboarding.
  • 2023-03-15: v1.0.0 published with project-analysis diagnostics and team-id reporting.
  • 2023-11-01: v1.1.0 published.

Related projects

  • KDoctor is adjacent to Kotlin Multiplatform, Kotlin Multiplatform Mobile, Android Studio, Xcode, CocoaPods, and Gradle. It is diagnostic glue around those projects rather than a replacement for any of them.

security posture

Risk level: green

narrow executable package without higher-risk signals.

Risk classifier

green risk · low confidence · appliance

Why

  • narrow executable package without higher-risk signals

Signals

  • metadata:no-higher-risk-signals

Install behavior

  • No Homebrew post-install hook is recorded in formula metadata.
  • Homebrew bottle metadata is available for 8 platform targets.
  • Build metadata lists 2 build dependencies.

Recommended review

Before unattended agent use, check whether the tool reads plaintext credentials, writes remote state, publishes artifacts, or shells out to plugins.

executables

Installed executables

CommandKindExposureNote
kdoctorcliglobal executable

freshness

Version and freshness

These signals separate page generation age, package-manager activity, and upstream release comparison. Version lag is warned only when an evidence URL and comparable versions are present.

page generated2026-07-08
manager version1.1.0
manager updated2026-06-22
local dataok
upstreamcurrent
latest detectedv1.1.0

https://github.com/Kotlin/kdoctor

  • okNo freshness warnings were generated.

install metadata

Package metadata

Package keybrew:kdoctor
Version1.1.0
Package managerHomebrew
Package manager pagehttps://formulae.brew.sh/formula/kdoctor
Homepagehttps://github.com/kotlin/kdoctor
Repositoryhttps://github.com/kotlin/kdoctor
Upstream docshttps://github.com/Kotlin/kdoctor#readme
LicenseApache-2.0
Source archivehttps://github.com/Kotlin/kdoctor/archive/refs/tags/v1.1.0.tar.gz
Last updated2026-06-22T14:03:52-07:00
Pulseupdated
Build dependenciesgradle@8, openjdk@21
Bottleavailable (on arm64_monterey, arm64_sequoia, arm64_sonoma, arm64_tahoe, arm64_ventura, monterey, sonoma, ventura)
Homebrew post-installnot defined
Servicenone declared

registry facts

Source database details

Source DatabaseHomebrew formula API
Taphomebrew/core
Full Namekdoctor
Version Scheme0
Revision0
Head VersionHEAD
Requirements
  • macos
  • xcode
Bottle Stable Root URLhttps://ghcr.io/v2/homebrew/core
Deprecatedno
Disabledno
Keg Onlyno
URL Keys
  • head
  • stable

source database matches

Other package-manager records

Matches are pulled from external package-manager indexes and kept separate from local Automic Vault package links.

Nix95%

kdoctor

nix profile install nixpkgs#kdoctor
  • normalized package name match
  • Matched by: Kdoctor
nixpkgs package indexes · api.github.com · nixpkgs package indexes: pkgs/by-name/kd/kdoctor/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1

source trail

Generated from repository data

This page is generated by av-web from the private package SQLite artifact built by scripts/generate-pkg-sqlite.py.

Used sources

  • Geiger risk classifier
  • Nucleus package database
  • av.db category and tag curation
  • cross-ecosystem install command graph
  • curated package history
  • external package-manager database matches
  • package relationship graph
  • package version freshness
  • package-page enrichment