Mixed Port: HTTP and SOCKS5 on a single port
The Mixed Port on the General page (default 7890) is a protocol-sniffing listener: it detects whether an incoming request speaks HTTP proxy or SOCKS5 and handles both. So whether an app asks for an "HTTP proxy" or a "SOCKS5 proxy", the answer is the same:
Host: 127.0.0.1
Port: 7890
Configuring common tools
# git
git config --global http.proxy http://127.0.0.1:7890
# one-off in PowerShell
$env:HTTPS_PROXY = "http://127.0.0.1:7890"
# npm
npm config set proxy http://127.0.0.1:7890
Older builds and some profiles also expose a separate port (HTTP) and socks-port (SOCKS5); they behave the same, just one protocol each. Using mixed-port everywhere means one less number to remember.
If you change the port, update every app where you typed the address manually. For conflicts, see "Port already in use".