Skip to content

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

New project ​

bash
npx @targo/create-targo my-app
cd my-app

Existing project ​

bash
npm install -D @targo/cli
targo init

First commands to run ​

bash
targo init
targo check
targo build

Those 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: