The common options of the torsocks command follow and, under normal circumstances, require nothing additional. The options come before the application to run (e.g., curl):
Options
Description
--shell
Creates a new shell with LD_PRELOAD
-u USER
Sets the SOCKS5 username
-p PASS
Sets the SOCKS5 password
-a ADDRESS
Sets the SOCKS5 server address
-P PORT
Sets the SOCKS5 server port
-i
Enables Tor isolation
A sample (redacted) output from the IP checker icanhazip.com via torsocks:
Notice that the torsocks IP address differs from the direct curl IP address.