Installation
Homebrew (macOS & Linux)
The easiest way to install Regius on macOS or Linux is with Homebrew:
brew install hbarral/tap/regius
Verify the installation:
regius help
To upgrade to the latest release later on:
brew upgrade regius
Download Binaries
Download the suitable binary for your operating system from the links below:
Build from Source
If you prefer to build from source, follow these steps:
-
Clone the repository:
git clone https://github.com/hbarral/regius.git
cd regius -
Build the project for your operating system:
go build -o regius ./cmd/cli -
Verify the installation:
./regius help
Requirements
- Go 1.25 or higher (if building from source)
- A supported database (PostgreSQL, MySQL, MariaDB, SQLite)
- (Optional) Redis for caching and sessions
Next Steps
After installation, create your first application:
regius new myapp
cd myapp
Then configure your .env file with your database and other settings. See the Configuration section for details on all available options.