diff options
| author | Eugene Triguba <eugenetriguba@gmail.com> | 2024-03-23 07:30:46 -0400 |
|---|---|---|
| committer | Eugene Triguba <eugenetriguba@gmail.com> | 2024-03-23 07:30:46 -0400 |
| commit | 1ca69967521d27ce00976e4d1fd7f1936feec660 (patch) | |
| tree | 8537d914ade178bd2616e4d0aefca802675d82fa /README.md | |
| parent | Add installation instructions for homebrew (diff) | |
| download | cli-1ca69967521d27ce00976e4d1fd7f1936feec660.zip | |
Update readme toc
Diffstat (limited to 'README.md')
| -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. |