I installed curl 7.77.0 with brew, but when I go to install other things with brew it fails to download on some things because its using the system version of curl which is 7.43.0. How can I make brew use the later version?
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: 126.96.36.199.1.1480973914 Xcode: 8.1
/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
/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"