brew tap microsoft/mssql-release https://github.com/Microsoft/homebrew-mssql-release
brew update
brew install --no-sandbox msodbcsql mssql-tools
#for silent install ACCEPT_EULA=y brew install --no-sandbox msodbcsql mssql-tools
Reference
  1. SQL Server Command Line Tools for macOS released