Quick Start
Create an AngularLynx app, open it in your browser, then run it on a phone. This takes about five minutes.
What you need
- Node.js 22.12 or newer. Check with
node --version. - Optional: a phone (iPhone or Android) or a simulator, to see the app as a real native app.
You don't need the Angular CLI installed globally. The project brings its own copy.
1. Create the app
When it asks "Would you like to add Tailwind CSS?", answer Yes. The tutorial and the examples use Tailwind.
The command takes a minute or two. It runs three steps for you:
ng newcreates a standard Angular project.ng add @blotch/angular-lynxconverts that project into a Lynx app.npm installinstalls the dependencies.
2. Start the dev server
npm start runs ng serve. After the first build, the terminal shows a large QR code and a few links:
Your addresses will differ. Leave the server running. If something else already uses port 3000, ng serve asks whether to use a different port, as Angular's does: answer yes, and use the port in its links.
3. Open it in your browser
Open the Preview link, but replace the IP address with localhost:
You should see your project's name and the line "Edit src/app/app.ts to get started".
This is the web preview: Lynx's web renderer drawing your app in the browser. It's the fastest way to work, and its layout matches the phone closely.
The preview only runs on a secure origin, and localhost is one. On an http://192.168… address it fails with "crypto.randomUUID is not a function".
4. Open it on a phone
To run your app as a native app, install Lynx Explorer. It's Lynx's development app: it downloads your app from the dev server and runs it.
- Install Lynx Go from Google Play. It's a community build of Lynx Explorer. Or install the official APK from Lynx's releases.
- Connect the phone to the same Wi-Fi as your computer.
- In the app, scan the QR code in your terminal.
You should see the same screen as in the browser, drawn by the phone's own UI controls.
Lynx Explorer doesn't have your app's native modules, such as secure storage, sign-in and the share sheet. With Xcode or Android Studio installed, ng serve --platform ios or ng serve --platform android builds your own app, opens it on a simulator, emulator or phone, and updates it on every save, as Lynx Explorer does. See Develop in the real app.
5. Make a change
- Open
src/app/app.tsand change the line "Edit src/app/app.ts to get started". - Save the file.
The phone updates within a second or two, on the screen it was showing. The web preview reloads the page once the rebuild finishes, so the app starts over on its first screen.
What stays as it was depends on what you edit:
- A template or a stylesheet: only that component re-renders, and it keeps its state.
- Anything else, such as a component's class or a service: the app restarts on the same screen. Its state starts over.
Some edits can't be applied to the running app, such as code that throws while it loads. Then the dev server reloads the whole app, which needs Lynx DevTool turned on in Lynx Explorer's settings. Otherwise, open the link again.
What's in the project
ng add changed only a few files from a standard ng new project:
These are the commands you'll use most. Prefix them with npx (npx ng build), or install the CLI globally with npm install -g @angular/cli:
Teach your AI coding agent
If an AI coding agent writes code with you, give it the AngularLynx skill: Lynx's elements, events and CSS differences, and the Angular CLI commands, in the form agents read.
The command finds the agents installed on your machine, such as Claude Code, Cursor and Codex, and asks which to install it into.
Next steps
- Tutorial: Build a todo app: learn elements, styling, events and signals step by step.
- Coming from web Angular: what's different, and which Angular features work.
- How a Lynx app runs: what the QR code, the bundle and Lynx Explorer are.
