TronBox Environment Dependencies
- NodeJS >=8
- Windows, Linux or Mac OS X
- Docker Engine >=v17
Linux and macOS
Node Package Manager (npm) recommends installing Node.js with Node Version Manager (nvm) to avoid permission errors when installing globally.
curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.1/install.sh | bash wget -qO- https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.1/install.sh | bash
- Make sure nvm is properly installed. You may need to reload the terminal for the command to take effect.
- Use nvm to install a compatible version of Node.js. For example, to install Node.js v12, run
nvm install 12
node --versionto confirm that Node.js has been properly installed.
TronBox recommends using the installer from the website of Node.js.
Make sure that you agree to automatically install the necessary tools during installation so that the required Visual Studio build tools, Python, and Chocolately package manager can be installed.
You can install TronBox by executing the following command:
npm install -g tronbox
You may receive warnings during installation. Type tronbox version on the terminal to check whether TronBox has been properly installed.
For Windows users
If you are running TronBox on Windows, you may encounter naming conflicts that may prevent TronBox from executing properly. In this case, please see Resolve Naming Conflicts for any helpful information.