Open Floppy opened 10 years ago
Oh, sorry, should this be in the keybase-issues repo? I just came straight to the issue list here. I can move it if you want.
OK, so looking back at the main site, it's obvious I took the wrong route to installation. It's still a bit obscure though. I have it set up now, but a note somewhere (perhaps in this README) that installation is with npm, and that /usr/local/share/npm/bin/
should be in your path would be helpful for beginners.
You can also set the prefix so that npm packages symlink properly to /usr/local/bin
(notably useful for homebrew users).
npm config get prefix
returned /usr/local/share/npm
. Simply running npm config set prefix /usr/local
fixed it for me without modifying PATH
Just installed the CLI on OSX. I'm not a node user most of the time, so don't have things like standard paths set up for node binaries, etc, and am not really sure where they should be. The installer worked, but didn't give me a
keybase
command in my path, and also didn't tell me where that command had been put. I eventually found I could run ~/.npm/keybase/0.0.31/package/bin/main.js` to get the same effect, but I don't think this is the idea :)It would be good to have a little more guidance for non-node users during install, particularly what should be added to the path.