# TXCIZ CLI (txciz-cli) — Official Command-Line Tool

Canonical URL: https://www.cheats4you.com/cli | Tarball: https://www.cheats4you.com/cli/txciz-cli.tgz | Script: https://www.cheats4you.com/cli/txciz.mjs | API Docs: https://www.cheats4you.com/docs

Use `txciz-cli` to query live Windows 10/11 software status, Euro (`EUR`) pricing tiers, 49 technical guides, single-game Markdown shards, and Model Context Protocol (MCP) configuration directly from any terminal. It requires Node.js `20.0.0` or newer and zero third-party dependencies.

## 1. Prerequisites, Quick Start & Installation

Run `txciz` directly with `npx` using the self-hosted tarball, install it globally, or execute the standalone ECMAScript Module (ESM) script [/cli/txciz.mjs](/cli/txciz.mjs):

```bash
# Run directly via npx without cloning
npx --yes "https://www.cheats4you.com/cli/txciz-cli.tgz" status

# Print JSON for scripts and AI agents
npx --yes "https://www.cheats4you.com/cli/txciz-cli.tgz" products --status available --json

# Install globally from the official package tarball
npm install -g "https://www.cheats4you.com/cli/txciz-cli.tgz"
txciz --version

# Run the standalone zero-dependency script
curl -fsSL "https://www.cheats4you.com/cli/txciz.mjs" -o txciz.mjs && node txciz.mjs mcp-config --json
```

### Prerequisites (node -v >= 20.0.0) & Expected Result

- **Runtime Prerequisite:** Verify `node -v` prints `v20.0.0` or newer on Windows, macOS, or Linux (`txciz-cli` uses Node.js built-in `fetch` and requires zero third-party npm packages).
- **Expected Outcome:** `txciz status` exits with code `0` and prints the 11-game availability table; `txciz product rob-run --shard` outputs a complete `<8,000`-token Markdown knowledge shard.

## 2. CLI Commands, Subcommands & Sample Terminal Output

Every subcommand calls read-only endpoints documented in the [TXCIZ API Docs](/docs) and supports human-readable tables, `--json`, or `--markdown` output:

| Command | Supported Flags | Backing Endpoint | Output |
| --- | --- | --- | --- |
| `txciz status` | `--json`, `--markdown`, `--origin` | `GET /api/v1/status` (or `/status.md`) | Live Undetected, Updating, and Out of Stock summary plus minimum EUR prices. |
| `txciz products` | `--status`, `--query`, `-q`, `--controller`, `--max-price`, `--json`, `--markdown` | `GET /api/v1/products` | Filtered list of TXCIZ Windows 10/11 PC software suites and EUR duration plans. |
| `txciz product <id>` | `--shard`, `--markdown`, `--json` | `GET /api/v1/products/:id` (or `/llms/:id.md`) | Plans, hardware requirements, setup steps, or token-capped RAG shard (<8,000 tokens). |
| `txciz guides` | `--game`, `--topic`, `--query`, `-q`, `--json`, `--markdown` | `GET /api/v1/blog` | Directory of 49 original ESP filter, 2D radar, and aimbot tuning guides. |
| `txciz guide <slug>` | `--markdown`, `--json` | `GET /api/v1/blog/:slug` (or `/blog/:slug.md`) | Complete guide prose, parameter tables, FAQs, and reading metadata. |
| `txciz mcp-config` | `--json`, `--markdown`, `--origin` | Local generator for `https://www.cheats4you.com/mcp` | Ready-to-use `mcpServers` JSON block for Claude, Cursor, and MCP hosts. |

### Sample txciz status & --shard Output

```text
$ npx --yes https://www.cheats4you.com/cli/txciz-cli.tgz status
TXCIZ Live Operational Status (Updated 2026-11-19)
Total: 11 | Undetected: 10 | Updating: 1 | Out of Stock: 0 | Coming Soon: 0 | Delivery Online: 10

ID                PRODUCT             STATUS       DELIVERY  INPUT       FROM    PLANS
----------------  ------------------  -----------  --------  ----------  ------  -------------------------------------------------
delta-force       Delta Force         Undetected   ONLINE    KBM + Ctrl  €5.99   1d:€5.99, 7d:€24.99, 30d:€59.99
rob-run           Rob Run             Undetected   ONLINE    KBM         €6.99   1d:€6.99, 7d:€19.99, 30d:€37.99, lifetime:€120.00
hood-warfare-2    Hood Warfare 2      Undetected   ONLINE    KBM         €3.99   1d:€3.99, 7d:€14.99, 30d:€24.99

$ txciz product rob-run --shard | head -n 6
# Rob Run — Cheats, ESP & Aimbot | TXCIZ
- **Canonical URL**: https://www.cheats4you.com/products/rob-run
- **Per-Game Knowledge Shard**: https://www.cheats4you.com/llms/rob-run.md
```

## 3. Flags, Environment Variables & Exit Code Troubleshooting

Direct downloads: [txciz-cli.tgz (npm USTAR tarball)](/cli/txciz-cli.tgz) • [txciz.mjs (standalone ESM script)](/cli/txciz.mjs) • [cli.md (Markdown documentation)](/cli.md).

| Option / Code | Type | Contract |
| --- | --- | --- |
| `--json` / `--markdown` / `--shard` | Output Flags | Switch output between formatted terminal tables, JSON on stdout, or Markdown twins and RAG shards. |
| `--origin <url>` / `TXCIZ_API_ORIGIN` | Environment / Flag | Override the default target origin (`https://www.cheats4you.com`) for staging or local verification. |
| `--help` (`-h`) / `--version` (`-v`) | Metadata Flags | Print usage documentation or `txciz-cli/2.1.0` to stdout and exit with code `0`. |
| `0` / `1` / `2` | Process Exit Codes | `0` = success; `1` = remote HTTP/network failure; `2` = unknown command, unknown flag, or missing argument. |

### Exit Code (0, 1, 2) & npx Cache Troubleshooting Matrix

| Symptom / Exit Code | Root Cause | Exact Terminal Fix |
| --- | --- | --- |
| Exit Code `0` | Command completed and printed valid output to stdout. | Pipe directly to `jq`, CI artifacts, or AI prompt context. |
| Exit Code `1` (HTTP `>= 400` or network error) | Invalid `productId`/`slug`, `TXCIZ_API_ORIGIN` offline, or HTTP `429` burst limit. | Run `txciz products --json` or `txciz guides --json` to verify slugs; pause if rate-limited (`120 req/60s`). |
| Exit Code `2` | Unknown command, unrecognized flag, or missing positional argument. | Run `txciz --help` and supply required `<id>` or `<slug>`. |
| Stale `npx` tarball cache or `fetch is not defined` | Node.js `< 20.0.0` or cached older tarball inside `_npx`. | Upgrade to Node `>= 20.0.0` (`node -v`), clear `_npx` cache, or run `curl -fsSL https://www.cheats4you.com/cli/txciz.mjs -o txciz.mjs && node txciz.mjs status`. |

## 4. Automation Patterns, CI Monitoring & Setup Guides

Every subcommand inside `txciz-cli` executes strictly read-only HTTP `GET` requests over Node.js built-in `fetch` with zero telemetry, zero local credential files, and deterministic JSON output suitable for shell pipelines, cron monitors, and continuous integration checks. Inspect live availability on the [Live Status Board](/status) or poll [GET /api/v1/status](/api/v1/status) directly.

When building agent memory workflows, pass `--shard` to `txciz product <id>` to fetch a single-game knowledge bundle capped below `8,000` tokens, combining system requirements, plan pricing, compatibility notes, and all tutorial guides into one structured Markdown stream without extra round trips. Need PC loader onboarding? Open the [6-Step PC Setup Guide](/setup), read [Loader Security & Error Fixes](/blog/txciz-loader-setup-security-errors-guide), or browse all [49 TXCIZ Technical Guides](/blog).

## Frequently Asked Questions

### How do I run txciz-cli without cloning the repository?

Run npx --yes https://www.cheats4you.com/cli/txciz-cli.tgz status in any terminal with Node.js 20 or newer. You can also download https://www.cheats4you.com/cli/txciz.mjs and execute node txciz.mjs status --json directly.

### Which commands and output formats does txciz-cli support?

txciz-cli provides six read-only commands: status, products, product <id>, guides, guide <slug>, and mcp-config. Every data command supports human-readable tables, --json for scripts and AI agents, or --markdown (--shard on product <id>) for token-capped Markdown output.

### Does txciz-cli require an API key or external npm packages?

No. txciz-cli uses zero third-party npm dependencies and queries only unauthenticated, read-only TXCIZ public endpoints over Node.js 20+ built-in fetch.

### What exit codes does txciz-cli return for shell scripts and CI?

txciz-cli returns 0 on success, 1 when a remote HTTP request fails or returns invalid JSON, and 2 when you pass an unknown command, unknown flag, or missing required argument.
