Installation
This page explains how to get a usable Targo environment and what to pay attention to during first setup.
Requirements
- Node.js 18+
- Go 1.22+
- npm, pnpm, or yarn
Recommended path
New project
bash
npx @targo/create-targo my-app
cd my-appExisting project
bash
npm install -D @targo/cli
targo initFirst commands to run
bash
targo init
targo check
targo buildThose three steps answer:
- are declarations refreshed?
- are type/config checks passing?
- can the project emit Go output?
Exact command and config details
If you need precise command boundaries rather than onboarding guidance, read: