Installation
Go-Blueprint provides a convenient CLI tool to effortlessly set up your Go projects. Follow the steps below to install the tool on your system.
Binary Installation
To install the Go-Blueprint CLI tool as a binary, Run the following command:
go install github.com/melkeydev/go-blueprint@latest
This command installs the Go-Blueprint binary, automatically binding it to your $GOPATH
.
Building and Installing from Source
If you prefer to build and install Go-Blueprint directly from the source code, you can follow these steps:
Clone the Go-Blueprint repository from GitHub:
git clone https://github.com/melkeydev/go-blueprint
Build the Go-Blueprint binary:
go build
Install in your $PATH
to make it accessible system-wide:
go install
Verify the installation by running:
go-blueprint version
This should display the version information of the installed Go-Blueprint.
Now you have successfully built and installed Go-Blueprint from the source code.