From 1ca69967521d27ce00976e4d1fd7f1936feec660 Mon Sep 17 00:00:00 2001 From: Eugene Triguba Date: Sat, 23 Mar 2024 07:30:46 -0400 Subject: Update readme toc --- README.md | 16 +++++++++------- 1 file changed, 9 insertions(+), 7 deletions(-) (limited to 'README.md') diff --git a/README.md b/README.md index 19b0a07..2ab84a1 100644 --- a/README.md +++ b/README.md @@ -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. -- cgit v1.2.3