Getting Started with Tina4#
One CLI runs all languages. Install it once, then init and serve in Python, Node.js, PHP, or Ruby.
Install the Tina4 CLI#
macOS (Homebrew):
brew install tina4stack/tap/tina4Linux / macOS (install script):
curl -fsSL https://tina4.com/install.sh | shAndroid (Termux):
curl -fsSL https://tina4.com/install.sh | shThe same script. On Termux it installs the native Android build into $PREFIX/bin, with no root and no sudo. Install Termux from F-Droid or its GitHub releases.
iOS (iSH, experimental):
iSH runs Alpine Linux on an iPhone or iPad. Tina4 support for it is experimental. The App Store build starts on Alpine 3.14, whose Python and Ruby are too old for Tina4, so point it at a current Alpine first:
printf '%s\n' https://dl-cdn.alpinelinux.org/alpine/latest-stable/main https://dl-cdn.alpinelinux.org/alpine/latest-stable/community > /etc/apk/repositoriesapk upgrade --availableapk add curlcurl -fsSL https://tina4.com/install.sh | shThe script installs the 32-bit static build iSH runs. tina4 init and tina4 setup install Python or Ruby with apk. Python projects get their own .venv, built with pip. PHP and Node.js projects are not available on iSH: Composer and npm cannot run in its emulator, so the CLI says so instead of installing them.
Windows (PowerShell):
irm https://tina4.com/install.ps1 | iexVerify the installation:
tina4 --versionOn Windows the CLI lands in %LOCALAPPDATA%\tina4 and goes first on your PATH, so the newest copy always wins. If tina4 --version still reports an old version, another tina4.exe sits earlier on a system PATH, and the installer prints its location so you can remove it.
For security teams#
Reviewing Tina4 for a managed machine? Installer Security and Transparency states exactly what the installer downloads, where it lands, what it does not do, and how to verify a download is genuine.
Check Your Environment#
Run tina4 doctor to see which languages and package managers are available:
tina4 doctorThis shows installed languages (Python, PHP, Ruby, Node.js), their versions, and whether the package managers (uv, composer, bundler, npm) are ready.
Set Everything Up with tina4 setup#
The fastest path, especially if you're starting from a fresh machine. tina4 setup reads what doctor found, installs whatever is missing (the language runtime and git, through the OS package manager such as Chocolatey on Windows, Homebrew on macOS, or pkg on Termux), installs the AI skills, scaffolds a ready-to-run project, and points you at it.
tina4 setupIt's guided: it asks which language, which AI tool, where your projects folder is, and the project name. First run remembers those; later runs ask only the project type and name. Use tina4 setup --dry-run to preview without changing anything.
What to expect#
Setup asks the four questions, installs whatever doctor flagged as missing, scaffolds the project (including its own CLAUDE.md and .mcp.json), then hands you off based on the AI tool you picked:
- Claude Code: opens a coding session right inside your new project, seeded with a first prompt. Start building.
- Claude Desktop, or no AI: asks "Start it now?". Say yes and it runs
tina4 serve, opening your app in the browser. Choose Claude Desktop and it comes to the front too; open a session there and point it at your project folder.
Either way you land on a running app with the skills installed. From here, you build.
Prefer to do it by hand? Skip to Create a Project below.
Skills: make your AI assistant fluent in Tina4#
Tina4 ships twelve AI skills. For building apps: one developer skill per backend (tina4-developer-python, -php, -ruby, -nodejs), tina4-js for the reactive frontend, tina4-architect and tina4-design for starting a project, tina4-a11y and tina4-seo for accessibility and search audits, tina4-test-plan for test plans, and tina4-cli for the tina4 client itself. For maintaining Tina4: tina4-maintainer. They are the source of truth for the framework's patterns, so your assistant builds correctly instead of guessing.
tina4 setup installs them for you, and tina4 skills <target> installs or refreshes them later (claude, codex, deepseek, cursor, hermes or all; Hermes and DeepSeek need client 3.8.115 or later). Without the client, run an install script and name the tool the skills are for:
curl -fsSL https://tina4.com/install-skills.sh | TINA4_SKILLS_TARGET=claude sh # macOS / Linux$env:TINA4_SKILLS_TARGET = "claude"; irm https://tina4.com/install-skills.ps1 | iex # Windows PowerShellThe target decides where they land:
| Target | Folder | Read by |
|---|---|---|
claude | ~/.claude/skills | Claude Code and Claude Desktop |
codex | ~/.agents/skills | Codex |
deepseek | ~/.agents/skills | DeepSeek Deep Code (the same folder as Codex) |
cursor | ~/.cursor/skills | Cursor |
hermes | ~/.hermes/skills | Hermes Agent |
all | all four folders | every tool above |
The installer stops with an error if no target is set.
Updating your skills#
The skills grow with the framework. Each release refines the patterns, and your local copies stay frozen at whatever version you installed. To pull the current ones, run the same command again, with the same target:
curl -fsSL https://tina4.com/install-skills.sh | TINA4_SKILLS_TARGET=claude sh # macOS / Linux$env:TINA4_SKILLS_TARGET = "claude"; irm https://tina4.com/install-skills.ps1 | iex # Windows PowerShellThe installer overwrites each SKILL.md and its reference files in place, so an update never leaves a stale copy behind. There is nothing to uninstall first. After it finishes, restart your coding tool so it reloads the files.
Each installer is pinned to the release it shipped with, so a re-run gives you exactly what shipped with the current version. To pin a machine to a specific version instead, pass a release tag through TINA4_SKILLS_REF:
curl -fsSL https://tina4.com/install-skills.sh | TINA4_SKILLS_TARGET=claude TINA4_SKILLS_REF=3.13.164 sh # macOS / Linux$env:TINA4_SKILLS_TARGET = "claude"; $env:TINA4_SKILLS_REF = "3.13.164"; irm https://tina4.com/install-skills.ps1 | iex # Windows PowerShellFound a skill that lies?#
A skill is documentation, and documentation drifts. If a skill tells your assistant about a method, default, or column that the framework no longer has, that is a bug we want to hear about. Report a stale or incorrect skill and we fix it at the source, then ship the fix to everyone.
Create a Project#
Pick a language. Scaffold a project. Start the server. Three commands.
Python#
tina4 init python my-appcd my-apptina4 serveAccess your app at http://localhost:7146
Take a deeper dive into the Python documentation.
Node.js#
tina4 init nodejs my-appcd my-apptina4 serveAccess your app at http://localhost:7148
Take a deeper dive into the Node.js documentation.
PHP#
tina4 init php my-appcd my-apptina4 serveAccess your app at http://localhost:7145
Take a deeper dive into the PHP documentation.
Ruby#
tina4 init ruby my-appcd my-apptina4 serveAccess your app at http://localhost:7147
Take a deeper dive into the Ruby documentation.
JavaScript (tina4-js)#
The frontend framework runs separately from the backend. Use the same Tina4 client as every other framework:
tina4 init js my-appcd my-apptina4 serveAccess your app at http://localhost:3000
Take a deeper dive into the tina4-js documentation.
What's next: build with the AI coder#
Your project ships with an AI coder in the dev admin. Run tina4 serve, open /__dev, paste your Tina4 MCP key, and describe what you want, it scaffolds the resource, runs the tests, and serves the result live. See Build with the AI Coder for the walkthrough.
Common CLI Commands#
Once inside a project, the tina4 CLI detects your language and delegates:
tina4 serve # Start dev server with file watcher and SCSS compilationtina4 serve --production # Use the best production server for your languagetina4 migrate # Run database migrationstina4 routes # List all registered routestina4 test # Run teststina4 generate model User # Scaffold a modeltina4 generate route api # Scaffold a route filetina4 generate migration create_users # Create a migrationtina4 ai # Install AI context files (CLAUDE.md, etc.)tina4 books # Download the Tina4 book into your project