New Project
Create a new DevRail-compliant project using devrail init or a template.
Get up and running with DevRail in minutes. The devrail init script generates all DevRail configuration files in your project directory with a single command.
# Run devrail init in your project directory
curl -fsSL https://devrail.dev/init.sh | bash
This launches an interactive wizard that asks which languages you use, which CI platform you want (GitHub Actions or GitLab CI), and which DevRail layers to install. It generates all configuration files, handles existing file conflicts safely, and is idempotent (safe to re-run).
For non-interactive use:
# Generate everything for a Python project with GitHub Actions
curl -fsSL https://devrail.dev/init.sh | bash -s -- --all --languages python --ci github --yes
See the CLI Reference for all options.
Before you begin, make sure you have the following installed on your machine:
| Tool | Purpose | Install Guide |
|---|---|---|
| Docker | Runs the dev-toolchain container | Docker Installation |
| GNU Make | Universal execution interface | Pre-installed on macOS and Linux |
| pre-commit | Git hook management | pip install pre-commit |
All other tools (linters, formatters, security scanners, test runners) are pre-installed inside the dev-toolchain container. You do not need to install them on your host machine.
devrail init or from a template.devrail init command reference.After setting up DevRail (any path), verify everything works by running:
# Run all DevRail checks (linting, formatting, security, tests)
make check
This command pulls the dev-toolchain Docker image (if not already cached), mounts your project directory, and runs every configured check inside the container. A passing make check means your project is DevRail-compliant.
Create a new DevRail-compliant project using devrail init or a template.
Add DevRail standards to an existing repository using devrail init.
Complete reference for the devrail init command.
How to get AI coding agents to follow DevRail standards in your projects.
Add a DevRail compliance badge to your project README.