-
-
Notifications
You must be signed in to change notification settings - Fork 268
FAQ
Somdev Sangwan edited this page May 16, 2023
·
5 revisions
- Install "golang"
- Install Smap with:
go install -v github.com/s0md3v/smap/cmd/smap@latest
- Verify the installation by typing
smap
in your terminal - If you are on linux and get a
smap not found
error, add the following line anywhere in the~/.profile
file
export PATH=$PATH:/usr/local/go/bin
OR
export PATH=$PATH:$(go env GOPATH)/bin
If this doesn't work, it means you are doing something wrong. It's up to you to find what you are doing wrong. In most cases, it can be fixed by searching how to set up golang path in linux/windows/mac
on Google.
If nothing works, download a binary from here and use that.