Setup Requirements
Developmentsetup-requirementsSetup Requirements is an Agent Skill for development published in the trezor/trezor-suite repository on GitHub: a SKILL.md instruction file an AI agent can load to do this task.
Prerequisites and initial environment setup for the Trezor Suite monorepo, including Node.js, Yarn, Git LFS, and submodules. Use when setting up or troubleshooting the development environment.
QUICK START
How to use this skill
Bring this guide into your coding agent with a prompt tailored to the tool you use.
- Open your project in Codex.
- Copy and paste the prompt below.
- Review files and risks before approving any action.
Prompt to paste
Inspect the Agent Skill at https://github.com/trezor/trezor-suite/blob/HEAD/skills/setup-requirements/SKILL.md and all supporting files. Report provenance, permissions, scripts, dependencies, and security risks. Propose an exact installation into .agents/skills/setup-requirements, but wait for my approval before writing files or running scripts.
Copying this prompt does not install or run the skill. Review third-party files before use.
Setup Requirements
- Node.js (version specified in
.nvmrc, use NVM:nvm install) - Yarn (version specified in
package.jsonpackageManager field) - Git LFS for binary assets
- Git submodules support
Initial Setup
# Setup Git LFS and submodules
git submodule update --init --recursive
git lfs install
git lfs pull
# Install dependencies
nvm install
yarn # Use --mode=skip-build if Playwright fails
# Build essential libraries (required before development)
yarn build:essential # Allow 3-5 minutes for completion