Documentation
MinerProxy CLI Installation and Commands
Install TCMinerProxy CLI from the main MinerProxy installer and use tcminer commands for setup, web access control, status checks, and common operations.
TCMinerProxy CLI Documentation
TCMinerProxy CLI is now released through the main TCMinerProxy install script. It is useful when operators do not want to expose the web management dashboard and prefer to inspect statistics or run basic actions from a server terminal or jump host.
Install Command
Run this command as root on a Linux server:
bash <(curl -s -L https://github.com/MinerProxyPro/TCMinerProxy/raw/main/install.sh)
This is the same command used to install the main TCMinerProxy server. After the script opens, choose a language and continue from the menu:
| Menu item | Purpose |
|---|---|
| 1 | Install the main TCMinerProxy program. Use this first when the server is not installed yet. |
| 22 | Install the command-line tool, download TCMinerProxyCLI-0.1.0, and create the tcminer launcher. |
| 23 | Uninstall the command-line tool and remove the script-managed CLI files and launcher. |
| 10 / 11 | Enable or disable web access. CLI mode requires web access to be disabled. |
| 21 | View runtime status, web port, CLI tool status, and install paths. |
Commands After Installation
The script creates the command launcher at /usr/local/bin/tcminer. Common commands:
tcminer
tcminer start
tcminer stop
tcminer restart
tcminer help
Run tcminer without arguments to open the CLI tool. Use start, stop, or restart to control the main TCMinerProxy service.
Important Notes
- Before installing the CLI, the script warns that TCMinerProxy web access must be disabled.
- After confirmation, the script sets
ENABLE_WEB_UIto0; the web dashboard becomes unreachable and statistics are viewed from the CLI. - To restore web access, run the install script again and choose the web access menu item.
- The CLI file is installed at
/root/tcminerproxy/TCMinerProxyCLI-0.1.0by default. - The command launcher is installed at
/usr/local/bin/tcminerby default.
