The installation of the development tools creates enables you to store keys, required for creating and transferring digital assets.
This article will guide you through the steps required for installing the TBSP development tools.
Additionally, you can use NVM to manage multiple node versions.
The Node Version Manager (NVM) enables you to manage multiple versions of Node.js on the same box.
If you're using MacOS Mohave and below, first create a bash profile::
If you're using MacOS Catalina and above, create a .zsh file and run the following commands:
curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.35.2/install.sh | bash
If you get an error message, create a .nvm file in your home directory:
To see the list of node versions managed by NVM, run:
To install a specific node version (we're currently on 10.19.0), run:
nvm install node version <YOUR_NODE_VERSION>
To see which node version you have installed, run:
To use a specific node version (we're currently on 10.19.0), run:
nvm use v10.19.0
Ensure this node version is the default node version:
$ nvm alias default 10.19.0
Linux - Ubuntu 18.04 OS
To work with TBSP with Ubuntu 18.04, you will need the following:
- Ubuntu Make
Ubuntu Make is a command line tool that enables you to download the latest version of popular developer tools.
sudo apt-add-repository ppa:ubuntu-desktop/ubuntu-make
Update the package manager repositories
sudo apt-get update
sudo apt-get install ubuntu-make
You'll also need to install Python:
sudo apt-get install python3.7
GCC and G++
The GNU Compiler Collection (GCC) is a compiler supporting various programming languages.
The GNU C++ Compiler is a Linux compiler for C++ programs.
Install GCC and G++:
sudo apt install build-essential
Validate if GCC has been correctly installed:
Validate if G++ has been correctly installed:
Install the TBSP Development Tools
To append the required environment variable, run:
export NODE_PATH=$(npm root -g)
Open a new terminal window and check if the NODE_PATH has been set:
The output should be
Install the TBSP dev tools:
npm i -g git+https://gitlab.tymlez.com/sdk/ng-rt-dev-tools.git#prod/3.0
Install the TBSP test dependencies:
A ~/.tymlez/config.json file will now be generated in your home folder.