01What Vibe Coding is
The term Vibe Coding comes from a post by AI researcher Andrej Karpathy in February 2025: you don’t write code yourself. You tell the AI what to build in plain language and let it write the code. You only look at the result and ask for changes, and you mostly don’t read the code itself. He also said this approach suits small weekend projects.
Now that coding agents like Claude Code and Codex exist, people who can’t code can use this approach to build small tools that work: a budgeting web page, a small script that sorts files automatically, a personal homepage and so on.
02What you need
- A computer: a Mac or a Windows PC both work. To build an iPhone app, you need a Mac.
- A coding agent: Claude Code (needs a Claude Pro plan or higher, or the API) or Codex (sign in with a ChatGPT account). For how to install them, see the guides “How to install Claude Code on a Mac, and how it differs from Codex” and “Codex for beginners: install, sign in and first steps on a Mac”.
- Git: it records each change, so you can go back when something breaks. A Mac usually has it already; run git --version in Terminal to check.
03Build your first small app
- Create an empty folder, go into it in Terminal, run git init, then start claude (or codex).
- Ask for a plan first instead of rushing into code: in Claude Code, press Shift+Tab to switch to plan mode. In this mode it only reads and makes a plan, and it edits files only after you approve.
- Describe what you want in one paragraph. For example: “Make a budgeting web page. I can add an income or an expense, it shows the total by month, the data is stored in the browser, and it works on a phone too.”
- When it finishes, ask it how to open the result, then click around and try it yourself.
- Say directly what you don’t like, for example “the buttons are too small” or “I need to switch between months”. Each time you are happy with it, ask it to make a Git commit to save that version.
- Don’t panic if something breaks: type /rewind in Claude Code to go back to an earlier state, or ask it to use Git to go back to the previous version.
04Habits that help it do better
- Ask for one thing at a time. If you give it ten requests at once, it easily misses some.
- Give it a way to tell right from wrong: for example “run it when you’re done and make sure there are no errors” or “add tests and make them pass”. The official advice is also to give it a way to check its own results.
- Say who it’s for and what it should look like. That helps much more than “make it look nicer”. You can paste a reference screenshot for it.
- Run /init to have it create a CLAUDE.md file that records this project’s conventions. It reads this file first every time it starts work. The official advice is to keep this file short.
- Don’t put passwords or keys directly in the code.
05Know the limits
Vibe Coding is great for small things you use yourself and for trying out ideas quickly. If you launch something for other people to use, especially anything involving payments, accounts or user data, have someone who knows the field review the code carefully and run security checks before it goes live.
When the project grows and you need it to work for long stretches, you can run it on a Mac that stays on all the time and check progress from your phone whenever you like. For details, see the guide “What can an AI agent do on a Mac mini? 6 practical uses”.

