Installation
Requirements
Step by Step
-
Run the installation command:
-
Add the Go bin directory to your PATH (if it is not already included):
Add the following line to your shell configuration file (
.bashrc
,.zshrc
, etc.):Then, reload your shell or run:
Replace
.bashrc
with your shell configuration file if necessary. -
Verify that $GOPATH is configured correctly:
Run the following command to display the current value of $GOPATH:
Expected Results:
-
If $GOPATH is configured correctly: The command will return the path to the GOPATH directory, usually something like
/home/user/go
on Linux orC:Users/user/go
on Windows. -
If $GOPATH is empty or incorrect: You will need to configure it by adding the following line to your shell configuration file:
Then, reload your shell or run:
Replace
.bashrc
with your shell configuration file if necessary.
-
-
Verify the installation:
You should see the help for the Mr. Smith CLI, confirming that the installation was successful.