Skip to content

Getting Started

Installation

TuffSeal

Download the latest TuffSeal release from github: - https://github.com/TuffSeal/TuffSeal/releases

Extract the binary and add it to your PATH.

Verify installation:

tuffseal --version

Once TuffSeal is installed, you can run test code by running it from a .tfs file or from the REPL.

To launch the repl:

tuffseal --repl

Inside the repl you can directly execute code. For example:

print("Hello, world!");

To run TuffSeal code contained in a .tfs script:

tuffseal --run script_path.tfs

PackMySeal (PMS)

PMS is the official package manager for TuffSeal.

Windows (x86_64)

Currently, precompiled binaries are only provided for Windows(x86_64). Download it from the TuffSeal releases page and add it to your PATH.

Verify:

pms --version

Other Platforms

On Linux, macOS or non-x86_64 systems. PMS must be built locally:

./build_pms.sh

or on Windows:

build_pms.bat

NOTE: Python is required to build TuffSeal. PyInstaller and other dependencies will be installed automatically by the build script.

First Project with PMS

Creating a Project

To initialize a new project, run the following commands:

pms init my-project
cd my-project

PMS will create a new folder called "my-project". Inside of the folder, you will see a file: main.tfs This is the main script inside your project.

To run your project, run:

tuffseal run main.tfs