He instalado curl 7.77.0 con brew, pero cuando voy a instalar otras cosas con brew falla en la descarga de algunas cosas porque está usando la versión del sistema de curl que es 7.43.0. ¿Cómo puedo hacer que brew utilice la versión posterior?
brew config
HOMEBREW_VERSION: 3.2.0-112-ga828538
ORIGIN: https://github.com/Homebrew/brew
HEAD: a828538dfceb1e6b0405e0576cb492df46b20b8e
Last commit: 2 hours ago
Core tap ORIGIN: https://github.com/Homebrew/homebrew-core
Core tap HEAD: 55d78b5744433ce5649c1e49bb72390891aa1c67
Core tap last commit: 32 minutes ago
Core tap branch: master
HOMEBREW_PREFIX: /usr/local
HOMEBREW_CASK_OPTS: []
HOMEBREW_MAKE_JOBS: 16
Homebrew Ruby: 2.6.3 => /usr/local/Homebrew/Library/Homebrew/vendor/portable-ruby/2.6.3_2/bin/ruby
CPU: 16-core 64-bit nehalem
Clang: 8.0.0 build 800
Git: 2.32.0 => /usr/local/bin/git
Curl: 7.43.0 => /usr/bin/curl
macOS: 10.11.6-x86_64
CLT: 8.2.0.0.1.1480973914
Xcode: 8.1
$PATH
/usr/local/opt/curl/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/Applications/Server.app/Contents/ServerRoot/usr/bin:/Applications/Server.app/Contents/ServerRoot/usr/sbin: No such file or directory
/etc/rutas
/usr/local/bin
/usr/bin
/bin
/usr/sbin
/sbin
brew link curl --force
Warning: Refusing to link macOS provided/shadowed software: curl
If you need to have curl first in your PATH, run:
echo 'export PATH="/usr/local/opt/curl/bin:$PATH"' >> /Users/Admin/.bash_profile
For compilers to find curl you may need to set:
export LDFLAGS="-L/usr/local/opt/curl/lib"
export CPPFLAGS="-I/usr/local/opt/curl/include"
For pkg-config to find curl you may need to set:
export PKG_CONFIG_PATH="/usr/local/opt/curl/lib/pkgconfig"
cat .bash_profile
export PATH="/usr/local/opt/curl/bin:$PATH"