Pre-builds
Linux or macOS (Intel)
Install Python 3.9 or higher.
Install toncli using pip:
On Linux: $
pip install toncli
On macOS: $
pip3 install toncli
If you see a warning message saying that the toncli script is not on PATH, add the absolute path to the bin directory to your PATH environment variable.
Run toncli and pass the absolute path to the func, fift, and lite-client directories from the first step as arguments.
Windows
To install and run toncli on Windows:
Download and install the latest version of Python 3.9 or higher from the official website.
Open the console by pressing
Win+X
and selectingWindows Terminal
from the menu.Install
toncli
using pip:pip install toncli
Download the compiled TON binaries from the SpyCheese repository on GitHub. You need to be logged in to GitHub to download the files.
Unzip the downloaded archive and add the libcrypto-1_1-x64.dll file to the unzipped files.
Open the folder containing the unzipped files in the console. Tip: To open the folder in the console, right-click on the folder and select "Open in Terminal" in Windows 11, or copy the path of the folder in Explorer and run
cd [copied path]
"in PowerShell (Win+X).Run
toncli
in the console.
Success! You can now use toncli on Windows.
Last updated