在OS X上找不到bash curl命令。我在哪里可以找到它?

前端之家收集整理的这篇文章主要介绍了在OS X上找不到bash curl命令。我在哪里可以找到它?前端之家小编觉得挺不错的,现在分享给大家,也给大家做个参考。
我不知道自己是在做什么,我对编程非常陌生并且想要自己学习。我正在尝试用ruby -e“$(curl -fsSL https://raw.github.com/mxcl/homebrew/go)安装自制软件,结果是”-bash:curl:command not found“

我一直在搜索谷歌,但似乎无法找到任何帮助我的东西。当我键入哪个卷曲时,它只是进入下一行终端,好像我刚刚打开终端…
我安装了xcode并安装了命令行工具,甚至下载后重新安装它以防万一有问题。
这并不重要,但我试图安装自制软件的原因是它需要用于dnscrypt所需的libsodium。

当我输入curl-config时,它为我提供了OPTION的可用值包括

  1. --built-shared says 'yes' if libcurl was built shared
  2. --ca ca bundle install path
  3. --cc compiler
  4. --cflags pre-processor and compiler flags
  5. --checkfor [version] check for (lib)curl of the specified version
  6. --configure the arguments given to configure when building curl
  7. --features newline separated list of enabled features
  8. --help display this help and exit
  9. --libs library linking information
  10. --prefix curl install prefix
  11. --protocols newline separated list of enabled protocols
  12. --static-libs static libcurl library linking information
  13. --version output version information
  14. --vernum output the version information as a number (hexadecimal)

然后我尝试任何像curl –version的那些,并且它没有找到相同的curl命令

作为替代方案,您可以使用wget:
  1. ruby -e "$(wget -qO - 'https://raw.github.com/mxcl/homebrew/go')"

猜你在找的Bash相关文章