whyrusleeping / ipfs-key

A program to generate ipfs private keys
MIT License
55 stars 41 forks source link

how to install #15

Open bazziebaz opened 2 years ago

bazziebaz commented 2 years ago

I'm sorry, I'm a go newbie. How to install? Do I need to do the git clone first? Does this need a special directory structure? github.com/whyrusleeping/ipfs-key? From which directory to start the 'go get github.com/whyrusleeping/ipfs-key'? Where does the ipfs-key appear? I tried it all, no luck.

me@docklab:~/github.com/whyrusleeping/ipfs-key$ go get github.com/whyrusleeping/ipfs-key me@docklab:~/github.com/whyrusleeping/ipfs-key$ ls -l total 28 -rw-rw-r-- 1 bas bas 1081 Sep 14 18:55 LICENSE -rw-rw-r-- 1 bas bas 1627 Sep 14 18:55 README.md -rw-rw-r-- 1 bas bas 1358 Sep 14 18:55 go.mod -rw-rw-r-- 1 bas bas 10867 Sep 14 18:55 go.sum -rw-rw-r-- 1 bas bas 2380 Sep 14 18:55 main.go

koxon commented 1 year ago

You can try to run go main.go [parameters] it works. The documentation install steps didn't work for me on Mac. Didn't work for anyone that tested.

bazziebaz commented 1 year ago

Thanks for your reply. This seemed to build the ipfs-key:

go get go install go build