---
title: "CLI - Trooth"
description: "Read any company's public record from your terminal with npx trooth check, and list what your own infrastructure declares with trooth lint. No key, no account."
canonical_url: "https://trooth.co/docs/cli"
markdown_url: "https://trooth.co/docs/cli.md"
generated_from: "the rendered page, converted to Markdown when this was requested"
agent_index: "https://trooth.co/llms.txt"
---

# CLI

The Trooth command-line interface (CLI) reads a company's public record from your terminal and prints it as text, or as JSON, a machine-readable format, when you pass --json.

GET`/directory/api/vendors`Public, no key

Read any company's public record from your terminal. No key, no account, and nothing about you is sent: it is a read of a record that is already published. A company with no record exits 1; a Trooth that could not be reached exits 3, so a pipeline never mistakes an outage for a company with no record.

## Install

bash

# Published to npm as `trooth`. Zero dependencies, Node 18+.

npm install -g trooth

# `trooth --version` prints the version you installed.

## Commands

```
# No install, no key, no account. Reads a published public record.
npx trooth check stripe.com
```

## What your own infrastructure declares

trooth lint is the local half: it reads what the infrastructure in a directory declares and prints those declarations as facts, with a canonical digest over them. It issues no verdict and checks nothing against any named standard, and nothing leaves the machine. The CLI's global flags are --json, --help and --version, and TROOTH_API sets the base URL that trooth check reads. Exit codes and the full reference are on the [CLI page](https://trooth.co/cli).

## Structured data

```json
{
  "@context": "https://schema.org",
  "@graph": [
    {
      "@type": "Organization",
      "@id": "https://trooth.co/#org",
      "name": "Trooth",
      "legalName": "Trooth, LLC",
      "alternateName": [
        "Trooth, LLC",
        "trooth.co"
      ],
      "url": "https://trooth.co",
      "logo": {
        "@type": "ImageObject",
        "@id": "https://trooth.co/#logo",
        "url": "https://trooth.co/brand/trooth-mark_black-on-white_1024.png",
        "contentUrl": "https://trooth.co/brand/trooth-mark_black-on-white_1024.png",
        "width": 1024,
        "height": 1024,
        "caption": "Trooth"
      },
      "image": {
        "@id": "https://trooth.co/#logo"
      },
      "description": "Trooth is an infrastructure and cybersecurity company providing Machine-Readable Trust. The Trooth Network keeps one current, evidence-backed page per company, rechecked on a schedule and signed so it can be replayed. 10 frameworks mapped.",
      "foundingDate": "2026",
      "address": {
        "@type": "PostalAddress",
        "streetAddress": "777 Brickell Ave, Suite 500, PMB 1174",
        "addressLocality": "Miami",
        "addressRegion": "FL",
        "postalCode": "33131",
        "addressCountry": "US"
      },
      "contactPoint": {
        "@type": "ContactPoint",
        "contactType": "customer support",
        "email": "hello@trooth.co",
        "url": "https://trooth.co/contact"
      },
      "sameAs": [
        "https://x.com/Troothllc",
        "https://github.com/troothllc",
        "https://www.crunchbase.com/organization/trooth",
        "https://www.wikidata.org/wiki/Q141292994",
        "https://www.youtube.com/@Troothllc",
        "https://www.trustpilot.com/review/trooth.co"
      ]
    },
    {
      "@type": "WebSite",
      "@id": "https://trooth.co/#website",
      "url": "https://trooth.co",
      "name": "Trooth",
      "alternateName": "Trooth Network",
      "inLanguage": "en",
      "publisher": {
        "@id": "https://trooth.co/#org"
      },
      "potentialAction": {
        "@type": "SearchAction",
        "target": {
          "@type": "EntryPoint",
          "urlTemplate": "https://trooth.co/network?q={search_term_string}"
        },
        "query-input": "required name=search_term_string"
      }
    },
    {
      "@type": "ItemList",
      "@id": "https://trooth.co/#sitelinks",
      "name": "Trooth sitelinks",
      "itemListElement": [
        {
          "@type": "SiteNavigationElement",
          "position": 1,
          "name": "Join Trooth now - it's free!",
          "url": "https://trooth.co/signup"
        },
        {
          "@type": "SiteNavigationElement",
          "position": 2,
          "name": "Company, Trooth",
          "url": "https://trooth.co/network/company/trooth"
        },
        {
          "@type": "SiteNavigationElement",
          "position": 3,
          "name": "Trooth Network",
          "url": "https://trooth.co/network"
        }
      ]
    }
  ]
}
```
