Skip to content
ErawanACADEMYไทย

Getting started

Connect Claude Code — from a terminal

The most capable way in, and the one that asks the most of you upfront: opening a terminal, and a paid Claude plan. If “terminal” means nothing yet, this page explains it before asking you to use it.

Want a hand from the start? Erawan gets your first app online for free on Hobby and above.

Not sure Claude Code is the one to start with? Compare the other ways in.

1. Install Claude Code

Claude Code needs a paid Claude plan, Pro or above. If you don't have one and don't want to pay yet, connect Claude in the chat first. That works with a free account.

Visit claude.com/claude-code and copy the one line for your computer into a terminal. A terminal is the plain, mostly black window your computer already has (Terminal on a Mac, PowerShell on Windows). You paste in one line and press Enter. That is the only skill this needs.

The Claude Code page, showing the 'Download for macOS' button and the other surfaces it runs on: Terminal, Web, iOS, Android, GitHub, VS Code, JetBrains, Slack

The Claude Code page. The “Download for macOS” button is a point-and-click installer if you prefer it, and either way you get the same tool. The one-line terminal command is on the same page.

2. Install Erawan, once

In the terminal, paste this line and press Enter.

curl -fsSL https://erawan.cloud/install | sh

On Windows, use irm https://erawan.cloud/install.ps1 | iex instead. It installs the erawan command and the guide that teaches Claude Code how to use it. You run it once, from any folder.

3. Start Claude Code in your project folder

Make a new folder for this app and take the terminal into it. The easy way: type cd and a space, drag the folder into the terminal window, and press Enter. Then type this.

claude

The first time, Claude Code asks you to sign in with your Claude account. Before it runs a command on your computer it asks you each time. Read it, then allow it.

4. Say what you want

Describe what you want the way you would explain it to a person. No code words needed, and ask for it to be put online in the same message. You can paste one of these to try.

Build me a simple personal notes app where I can write a note and delete it, and put it online.
Make a page where people can sign up for updates with their email, and put it online.
Build a small to-do list I can check items off, with a password so only I can open it.

If what comes back isn't quite right, say plainly what is wrong, such as “make the button bigger” or “I wanted a delete button too”. Claude Code edits the files, and you can keep going like this.

After you press Enter

Before the app goes online, Erawan checks the code, for example for a secret key left in it or a debug mode left on. If something turns up, Claude Code fixes it and sends it again. Within a few minutes you usually have a link that works. To see what else every deploy checks, read Introduction to Erawan Cloud.

If the first try doesn't work

You don't have to find out what broke. Claude Code reads the error Erawan sends back, changes the code and tries again. If it is still stuck, type what the screen shows, and Claude Code reads the logs from there.

What Erawan costs

The first time, you don't need an Erawan account. An app put online this way lasts 24 hours. Sign up free within that time and the app moves into your account, on the same link. Once you have an account, websites are free with no end date, and your first app is free for 30 days. See every plan

All Erawan Cloud lessons