Closed kevinSuttle closed 10 years ago
I'm not sure what the issue is here? If you've brew install cloudfoundry-cli
, the command will be available to you.
But it's not. That's my issue.
Can you please post the output of the following:
brew info cloudfoundry-cli
brew --prefix
echo $PATH
which cf
FYI: I reinstalled the Go cf tool from the binary (I needed to use it). These results may be false positives.
❯ brew info cloudfoundry-cli
cloudfoundry-cli: stable 6.4.0, HEAD
https://github.com/cloudfoundry/cli
/usr/local/Cellar/cloudfoundry-cli/6.4.0 (2 files, 18M) *
Built from source
From: https://github.com/pivotal/homebrew-tap/blob/master/cloudfoundry-cli.rb
~
❯ brew --prefix
/usr/local
~
❯ echo $PATH
/Users/kevinsuttle/.rbenv/shims:/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin
~
❯ which cf
zsh: correct 'cf' to '.cf' [nyae]? n
/usr/local/bin/cf
/usr/local/bin/cf
is where I'd expect you to have find the cf
binary. You're right that using the OS X package might be causing a false positive, but I cannot tell for sure from this output. You might try running brew doctor
and fixing up any problems that you find there.
Dunno. I guess I'll try uninstalling the binary again later.
~ 17s
❯ brew doctor
Your system is ready to brew.
~ 22s
❯ which cf
zsh: correct 'cf' to '.cf' [nyae]? n
/usr/local/bin/cf
~
❯ cf -v
cf version 6.4.0-952cc94-2014-08-13T23:33:07+00:00
This is after removing the cf tool from the OSX installer, but I'm guessing I wasn't supposed to do that.