1. Run the install command
Open a terminal and run the command for your system:
curl -fsSL https://yntra.ai/install | shirm https://yntra.ai/install.ps1 | iexYou can read the scripts before running them: yntra.ai/install (macOS, Linux) and yntra.ai/install.ps1 (Windows).
What the installer does
- Detects your system and processor (x64 or arm64) and downloads the matching Yntra Code build, version 1.0.2.
- Checks the SHA-256 checksum of every downloaded file against the published
SHA256SUMSand stops if it does not match. - Installs for your user only, without administrator rights: on macOS and Linux in
~/.yntra/bin, with settings in~/.config/yntra; on Windows in%LOCALAPPDATA%\Yntra\bin, with settings in%APPDATA%\yntra. - On macOS and Linux it adds
~/.yntra/binto yourPATHin~/.zshrcor~/.bashrc. Open a new terminal afterwards.
2. Create an API key
Sign in to the Yntra web app, open Settings (Impostazioni) → Yntra Code e chiavi API and create a key. The key is shown once: copy it now. API keys are available on the Plus and Pro plans, and you can revoke a key at any time from the same page.
3. Sign in
yntra login
Paste the key when asked. It is stored only on your computer, readable only by your user.
4. Start in your project
cd ~/my-project
yntra
Describe what you want in plain language. Continue with the quickstart.
Update and uninstall
To update, run the install command again: it replaces the program and keeps your API key. To uninstall on macOS or Linux, delete ~/.yntra and ~/.config/yntra; on Windows delete %LOCALAPPDATA%\Yntra and %APPDATA%\yntra. Then revoke the API key in Settings.