-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
2141a46
commit ddd41c9
Showing
1 changed file
with
47 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,47 @@ | ||
--- | ||
hide: | ||
- toc | ||
--- | ||
Go-ForgeX 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-ForgeX CLI tool as a binary, Run the following command: | ||
|
||
```sh | ||
go install github.com/melkeydev/forgex@latest | ||
``` | ||
|
||
This command installs the Go-ForgeX binary, automatically binding it to your `$GOPATH`. | ||
|
||
|
||
## Building and Installing from Source | ||
|
||
If you prefer to build and install Go-ForgeX directly from the source code, you can follow these steps: | ||
|
||
Clone the Go-ForgeX repository from GitHub: | ||
|
||
```sh | ||
git clone https://github.com/melkeydev/forgex | ||
``` | ||
|
||
Build the Go-ForgeX binary: | ||
|
||
```sh | ||
go build | ||
``` | ||
Install in your `$PATH` to make it accessible system-wide: | ||
|
||
```sh | ||
go install | ||
``` | ||
|
||
Verify the installation by running: | ||
|
||
```sh | ||
go-ForgeX version | ||
``` | ||
|
||
This should display the version information of the installed Go-ForgeX. | ||
|
||
Now you have successfully built and installed Go-ForgeX from the source code. |