> ## Documentation Index
> Fetch the complete documentation index at: https://docs.myrax.app/llms.txt
> Use this file to discover all available pages before exploring further.

# Installation

> Install, update and uninstall Myrax

## Requirements

* Linux, amd64 or arm64
* systemd or runit (for the service unit)
* root access

Tested on Debian, Ubuntu, Arch and Void; anything else with systemd or runit
works the same way.

## Install

```sh theme={null}
curl -fsSL https://sh.myrax.app/install.sh | sudo sh
```

Mirror of the same script:

```sh theme={null}
curl -fsSL https://raw.githubusercontent.com/Myrax-panel/Myrax/main/scripts/install.sh | sudo sh
```

The installer:

1. Downloads the binary for your architecture to `/usr/local/bin/myrax`.
2. Asks for a port, a panel path and admin credentials.
3. Registers and starts a service (systemd or runit).

Open `http://your-ip:port` and log in with the credentials you picked.

<Note>
  The panel path is a URL prefix, `/` by default. Setting a non-root path (for
  example `/panel`) makes every other path return a decoy page — useful when
  the server is exposed to the internet.
</Note>

## Update

Press **update** in the panel header, or:

```sh theme={null}
myrax update
```

Both pull the latest GitHub release, swap the binary and restart the service.

## Uninstall

```sh theme={null}
myrax uninstall
```

Removes the binary, the service unit, `/etc/myrax` and `/var/lib/myrax`.

## File locations

| Path                     | Contents                           |
| ------------------------ | ---------------------------------- |
| `/usr/local/bin/myrax`   | the binary                         |
| `/etc/myrax/config.toml` | configuration                      |
| `/var/lib/myrax`         | plugin installs, plugin data, logs |
