# Getting started

URL: https://rustpress.witsberry.com/getting-started/

> Install rp with one command, start a site on SQLite, finish the setup wizard and find your way around the RustPress admin and site folder.

This page takes you from nothing to a running RustPress site: install the `rp` program, start a site, finish the setup wizard and find the admin.

## Install rp

On Linux (any distribution) or macOS, run:

```
curl -fsSL https://raw.githubusercontent.com/Witsberry/RustPress/main/install.sh | sh
```

The installer checks the download’s checksum and the release signature before it installs `rp`. You can also download a build for Linux, macOS or Windows from the [Releases page](https://github.com/Witsberry/RustPress/releases).

`rp` is one self-contained program. You do not need Rust, PHP, a web server or a database server.

## Start a site

```
rp serve --root mysite
```

`rp serve` prints an address like `http://127.0.0.1:8080/rp-admin/install?key=…`. Open it in your browser.

## Finish the setup wizard

The wizard asks for two things:

*   **A database.** SQLite needs no setup. You can also use MySQL, MariaDB, PostgreSQL or an existing WordPress database.
*   **Your admin account.**

The `key` in the printed address is a one-time setup key. It makes sure nobody else sets the site up before you do.

Prefer the shell? `rp install --url … --title … --user … --password … --email …` runs the same install without the browser.

## Where your files live

Each site has a site folder. `rp` uses the folder given with `--root`, then `$RP_ROOT`, then the current folder. It holds:

*   `rp-config.toml`: the site’s settings, created on first run with fresh secret keys.
*   `rp-content/`: themes, plugins, uploads and the AI workspace.
*   `sdk/`: the plugin SDKs.

## Admin and site addresses

| Address                                    | What it is                                                                                                                 |
| ------------------------------------------ | -------------------------------------------------------------------------------------------------------------------------- |
| `/rp-admin/`                               | The admin, with clean names such as `/rp-admin/themes`, `/rp-admin/posts`, `/rp-admin/settings/reading` and `/rp-admin/ai` |
| `/rp-login`                                | Log in                                                                                                                     |
| `/rp-json/`                                | REST API with standard `wp/v2` shapes; `/wp-json/` also answers                                                            |
| `/rp-content/…`                            | Files; `/wp-content/…` links in old content still resolve                                                                  |
| `/sitemap.xml`, `/rp-comments`, `/rp-cron` | Sitemap, comment posting and scheduled tasks                                                                               |

Old `/wp-admin/*.php` and `/wp-login.php` links redirect to their RustPress equivalents.

## Next steps

*   Coming from WordPress? Read [Moving from WordPress](/moving-from-wordpress/).
*   Choose a database or host: [Install and update](/install-and-update/).
*   Change the look of your site: [Themes](/themes/).
*   See every command: [Command reference](/command-reference/).
