# Setup Trtmc Environment

> Prepare a TensorRT-Model-Connect development or validation environment from a fresh checkout on a host without a known working setup.

- Skill: `nvidia/setup-trtmc-environment` (Agent Skill)
- Install (CLI): `npx skillmds@latest add nvidia/setup-trtmc-environment`
- Raw SKILL.md: https://api.skillmd.com/api/skills/nvidia/setup-trtmc-environment/raw
- Safety review: pending
- Works with: Claude Code, Claude.ai, OpenAI Codex
- Category: AI & ML
- Author: NVIDIA (https://skillmd.com/u/nvidia)
- Updated: 2026-09-22
- Page: https://skillmd.com/skills/nvidia/setup-trtmc-environment

---


# Set Up the Environment

Start from the checkout and current repository documentation, not a remembered
machine or container name.

1. Resolve the repository root and read
   `website/docs/getting-started/source-build.md`, `Dockerfile`, and
   `apps/devtoolkit/README.md`.
2. Inspect host architecture, available disk, Docker access, GPU visibility,
   driver, and compute capability only as needed for the requested work.
3. Prefer the existing `apps/devtoolkit` API for a checkout-owned environment.
   Use its Docker path for the supported development image or its local path
   with an explicit existing Python interpreter.
4. Select one family when model work is requested. Install only that family's
   optional `families/<family>/requirements.txt`; a missing file means no
   family package step.
5. Verify the checkout mount, Python import, TensorRT import, GPU visibility,
   runtime root, and requested native target before starting the real task.

Do not reuse, replace, or remove an unrelated container. Do not install GPU
drivers, reconfigure the container runtime, or change runner settings without
separate authorization. Stop and explain the unsupported host boundary when
the documented paths do not apply.

Report environment preparation separately from compilation, tests, model
correctness, performance, and deployment qualification.

