Skip to content

Quick start

You need Node.js 22 or later, a Ynch Studio account, and the Ynch app on your iPhone, signed in to the same account.

In a new, empty folder:

Terminal window
npm init -y
npm install --save-dev @ynch/cli@beta
Terminal window
npx ynch connect

The CLI prints a Studio link. Open it, sign in and choose Approve CLI connection. Back in the terminal, pick one of your projects or create a new one. The CLI then writes a starter app into a .ynch folder.

Open .ynch/screens/home.json and change the welcome text, or ask your coding agent to build what you have in mind. Working with coding agents has a prompt to start from.

Terminal window
npx ynch check

check reads your files and reports anything that is wrong, with the file and the place. It changes nothing and uses no network.

Terminal window
npx ynch upload

This builds the app and uploads it to your project as a draft. Nothing is live yet.

In Studio, open your project and go to Releases. The checklist walks you through it:

  1. Approve & sign the draft. Studio signs that exact version.
  2. Make it active. Your iPhone opens the active version.
  3. Accept database changes, only if the app uses a database and asks for something new.

Open the Ynch app. Your project appears in the list; tap it, then choose Open App in Ynch. Pull down on the list to refresh after you make a new version active.