{
  "slug": "tkn-hub-defaults-to-artifact-hub-962e770acd85",
  "title": "tkn hub defaults to Artifact Hub",
  "tools": [
    "tkn"
  ],
  "tags": [
    "agent"
  ],
  "introduced_at": "2026-08-05T05:36:21.000Z",
  "announced_at": "2026-08-05T05:36:21.000Z",
  "effective_at": null,
  "date_basis": "source-publication",
  "status": "unknown",
  "how": {
    "incantation": "When installing a Task from Artifact Hub, run `tkn hub install task` with its name, catalog, and version; Artifact Hub is the default hub type. Use `--type=tekton` only for Tekton Hub resources; that type is deprecated and emits a warning.",
    "examples": [
      "tkn hub install task <task-name> --type artifact --from <catalog> --version <version>",
      "tkn hub install task <task-name> --version <version> --from <catalog> --type tekton"
    ],
    "gotchas": [
      "Version: v0.46.0",
      "task-name (required): Name of the Task to install.",
      "--from (required): Catalog to which the resource belongs.",
      "--version: Version of the resource; the documented Artifact Hub example specifies it, and Artifact Hub resources follow full SemVer.",
      "--type: Hub type: `artifact` or `tekton`; defaults to `artifact`. `tekton` is deprecated and displays a warning.",
      "--api-server: Hub API server URL; defaults to `https://artifacthub.io` for Artifact Hub and `https://api.hub.tekton.dev` for deprecated Tekton Hub. Can be set by `ARTIFACT_HUB_API_SERVER`, `TEKTON_HUB_API_SERVER`, or `$HOME/.tekton/hub-config`.",
      "--context: Kubeconfig context; defaults to the current kubectl context.",
      "--kubeconfig: Kubectl config file; defaults to `$HOME/.kube/config`.",
      "--namespace: Namespace to use; defaults from `KUBECONFIG`.",
      "The following commands currently only work with Tekton Hub and may support Artifact Hub in a future release: check-upgrade, downgrade, get, info, reinstall, search, upgrade.",
      "When using `--type tekton`, a deprecation warning is displayed.",
      "Tekton Hub type is deprecated and will be removed in a future release."
    ]
  },
  "why_it_matters": "Install a task from Artifact Hub into a Tekton pipeline workflow.",
  "before": "The `--type` default was `tekton`; users relying on Tekton Hub resources could omit the flag for those commands.",
  "sources": [
    "https://github.com/tektoncd/cli/releases/tag/v0.46.0",
    "https://github.com/tektoncd/cli/pull/2876",
    "https://github.com/tektoncd/cli/blob/v0.46.0/docs/cmd/tkn_hub_install_task.md",
    "https://github.com/tektoncd/cli/blob/v0.46.0/docs/cmd/tkn_hub_install.md",
    "https://github.com/tektoncd/cli/blob/v0.46.0/docs/cmd/tkn_hub.md"
  ],
  "rank": 0.93048,
  "judge": {
    "publish": true,
    "judge_model": "codex-cli/gpt-6-luna+typesafe/jev-1.13.0",
    "prompt_version": "extract-v7+enrich-v2+judge-v2x3+jev-publish-v1"
  },
  "review_state": "approved",
  "provenance": {
    "run_id": "wave2b-20261017",
    "verdict_id": "wave2b-20261017:wave2b-20261017-78f92874b258fece-0:gate",
    "evidence_hash": "6aaa51aaf521862f49ff7f8971661326c4c9978e892932f8b884b14a52876906"
  },
  "review": {
    "draft_hash": "362ae44d8851cfff80099c954fe88f19f8f9d0d700b986c4ceb18518402383aa",
    "reviewer": "publication-gate",
    "reviewed_at": "2026-10-07T00:00:00.000Z",
    "decision": "wave2b-20261017:gate",
    "reason": "3 of 3 judge runs approved with p_yes >= 0.9 (mean 0.93 >= 0.9; 2 needed) and Jev gave 0.73 (>= 0.6 needed)."
  }
}
