xcode is 10.
Command Line Tools is up to date.
>brew install ffmpeg
Updating Homebrew...
Error: Your Xcode (1) is too outdated.
Please update to Xcode 9.2 (or delete it).
Xcode can be updated from the App Store.
Error: Your Command Line Tools are too outdated.
Update them from Software Update in the App Store.
>brew config
HOMEBREW_VERSION: 1.5.2
ORIGIN: https://git.coding.net/homebrew/homebrew.git
HEAD: 60a30e966b7cece5bd4823dae3fb981ab85106ea
Last commit: 8 months ago
Core tap ORIGIN: https://mirrors.ustc.edu.cn/homebrew-core.git
Core tap HEAD: 67d5d35aa222f200a07b924730817947cf1480b3
Core tap last commit: 2 days ago
HOMEBREW_PREFIX: /usr/local
HOMEBREW_BOTTLE_DOMAIN: http://7xkcej.dl1.z0.glb.clouddn.com
CPU: octa-core 64-bit haswell
Homebrew Ruby: 2.3.7 => /System/Library/Frameworks/Ruby.framework/Versions/2.3/usr/bin/ruby
Clang: N/A
Git: 2.19.0 => /usr/local/bin/git
Curl: 7.54.0 => /usr/bin/curl
Perl: /usr/bin/perl
Python: /usr/local/opt/python/libexec/bin/python => /usr/local/Cellar/python/3.7.0/Frameworks/Python.framework/Versions/3.7/bin/python3.7
Ruby: /usr/bin/ruby => /System/Library/Frameworks/Ruby.framework/Versions/2.3/usr/bin/ruby
Java: 1.8.0_141
macOS: 10.13.6-x86_64
Xcode: 1 => /Applications/Xcode.app/Contents/Developer
CLT: N/A
X11: 2.7.11 => /opt/X11
Your Homebrew is very outdated. Run brew update-reset.
Most helpful comment
Your Homebrew is very outdated. Run
brew update-reset.