diff options
| -rw-r--r-- | README.md | 16 |
1 files changed, 9 insertions, 7 deletions
@@ -22,6 +22,8 @@ It is distributed as a standalone binary, making it easy to run anywhere without - [Features](#features) - [Installation](#installation) + - [Go install](#go-install) + - [Homebrew](#homebrew) - [Tutorial](#tutorial) - [Creating your first migration](#creating-your-first-migration) - [Writing your migration scripts](#writing-your-migration-scripts) @@ -67,21 +69,21 @@ It is distributed as a standalone binary, making it easy to run anywhere without ## Installation -### macOS +### Go install ```bash -$ brew tap eugenetriguba/homebrew-bolt -$ brew install bolt +$ go install github.com/eugenetriguba/bolt/cmd/bolt@latest ``` -### With Go install +This will install Bolt to your `$GOBIN` directory. Make sure that `$GOBIN` is in your `$PATH`. + +### Homebrew ```bash -$ go install github.com/eugenetriguba/bolt/cmd/bolt@latest +$ brew tap eugenetriguba/homebrew-bolt +$ brew install bolt ``` -This will install Bolt to your `$GOBIN` directory. Make sure that `$GOBIN` is in your `$PATH`. - ## Tutorial In this tutorial, we'll guide you through the basics of using Bolt by running through how you can create a migration, apply it, revert it, and see the status of your migrations. |