Linux or macOS (Intel)

  1. Download the needed pre-builds for Linux or macOS from the SpyCheese repository:

    Note: You need to be logged in to GitHub to download the pre-builds.

  2. Install Python 3.9 or higher.

  3. Install toncli using pip:

    • On Linux: $ pip install toncli

    • On macOS: $ pip3 install toncli

  4. 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.

  5. Run toncli and pass the absolute path to the func, fift, and lite-client directories from the first step as arguments.


To install and run toncli on Windows:

  1. Download and install the latest version of Python 3.9 or higher from the official website.

  2. Open the console by pressing Win+X and selecting Windows Terminal from the menu.

  3. Install toncli using pip: pip install toncli

  4. Download the compiled TON binaries from the SpyCheese repository on GitHub. You need to be logged in to GitHub to download the files.

  5. Unzip the downloaded archive and add the libcrypto-1_1-x64.dll file to the unzipped files.

  6. 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).

  7. Run toncli in the console.

Success! You can now use toncli on Windows.

Last updated