Kubuxu / go-ipfs-swarm-key-gen

118 stars 60 forks source link

ipfs-swarm-key-gen > ~/.ipfs/swarm.key produce error #8

Closed xanotoz closed 5 years ago

xanotoz commented 5 years ago

When i write the comand:

ipfs-swarm-key-gen > ~/.ipfs/swarm.key : console result say " ipfs-swarm-key-gen : comand not found

if i write: ./go/bin/ipfs-swarm-key-gen > ~/.ipfs/swarm.key (like this tutorial https://medium.com/@s_van_laar/deploy-a-private-ipfs-network-on-ubuntu-in-5-steps-5aad95f7261b ) Console: -bash: ./go/bin/ipfs-swarm-key-gen: No such file or directory

And if i write ipfs-swarm-key-gen > IPFS_PATH=~/.ipfs/swarm.key Console: -bash: PFS_PATH=/home//.ipfs/swarm.key : No such file or directory

xanotoz commented 5 years ago

I fix this only add the environment variable of GO