grate 2.3.0
dotnet tool install --global grate --version 2.3.0
dotnet new tool-manifest
dotnet tool install --local grate --version 2.3.0
#tool dotnet:?package=grate&version=2.3.0
nuke :add-package grate --version 2.3.0
grate
grate is a SQL scripts migration runner, using plain, old SQL for migrations. No meta-language, no code, no config, no EF migrations. It gives you full flexibility, and full control of your migrations, and lets you use all the fancy features of you particular database system. You are not constrained to any lowest common feature set of all supported databases.
Supported runtimes
This tool includes .NET 8, 9, 10 and 11 assets. The .NET 11 build requires stable
runtime 11.0.0 or a newer .NET 11 patch. Install a matching supported runtime
and use an SDK to install the tool.
Minimal example
The only required argument to pass to grate is a connection string to tell it where to find your database. It will deploy to that database, looking for sql scripts in the current directory.
grate --connectionstring="Server=(localdb)\MSSQLLocalDB;Integrated Security=true;Database=grate_test"
for more configuration options, see the documentation.
grate supports the following DMBS's
- Microsoft SQL server
- PostgreSQL
- MariaDB/MySQL
- Sqlite
- Oracle
Full documentation can be found at https://grate-devs.github.io/grate/.
Coding-agent skill
After installing this tool, run grate skills install --global to install its
bundled use-grate skill for Codex and Claude Code. For a project-local tool,
run dotnet tool run grate -- skills install --local from the repository.
See the agent skill guide for
locations and updating existing copies. Installation does not contact a database.
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net8.0 is compatible. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. net9.0 is compatible. net9.0-android was computed. net9.0-browser was computed. net9.0-ios was computed. net9.0-maccatalyst was computed. net9.0-macos was computed. net9.0-tvos was computed. net9.0-windows was computed. net10.0 is compatible. net10.0-android was computed. net10.0-browser was computed. net10.0-ios was computed. net10.0-maccatalyst was computed. net10.0-macos was computed. net10.0-tvos was computed. net10.0-windows was computed. net11.0 is compatible. |
This package has no dependencies.
| Version | Downloads | Last Updated |
|---|---|---|
| 2.3.0 | 976 | 11/10/2026 |
| 2.2.0 | 1,688 | 11/5/2026 |
| 2.1.6 | 57,131 | 7/29/2026 |
| 2.1.5 | 13,428 | 7/7/2026 |
| 2.1.3 | 3,833 | 6/26/2026 |
| 2.1.2 | 754 | 6/25/2026 |
| 2.1.0 | 531 | 6/25/2026 |
| 2.0.6 | 44,131 | 6/9/2026 |
| 2.0.5 | 50,544 | 12/15/2025 |
| 2.0.4 | 873 | 12/15/2025 |
| 2.0.2 | 860 | 12/15/2025 |
| 2.0.0 | 1,228 | 12/25/2025 |
| 1.9.2 | 16,928 | 12/4/2025 |
| 1.9.0 | 8,530 | 11/3/2025 |
| 1.8.0 | 192,126 | 7/25/2024 |
| 1.7.4 | 73,481 | 5/16/2024 |
| 1.7.3 | 1,519 | 5/11/2024 |
| 1.6.3 | 3,960 | 5/11/2024 |