Skip to content
Somdev Sangwan edited this page May 16, 2023 · 5 revisions

How do I install Smap?

  1. Install "golang"
  2. Install Smap with: go install -v github.com/s0md3v/smap/cmd/smap@latest
  3. Verify the installation by typing smap in your terminal
  4. 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.

Clone this wiki locally