On macOS, the terminal does not use a proxy by default.
If you want to request a URL via Curl or download a file via Wget using a SOCKS proxy instead of a VPN, follow this guide to make it happen.
export ALL_PROXY=socks5://address:port
If you don't have a SOCKS proxy, get a free one now.
vim ~/.bashrc
export ALL_PROXY=socks5://address:port
If you don't have a SOCKS proxy, get a free one now.
curl "https://ipinfo.io"
Check if the IP in the JSON results matches the SOCKS proxy server.