Environment setup

Trinity CLI

Trinity CLI is a command line tool that helps you manage your trinity applications, including creating a new application, running during development, and publishing.

Dependencies

You need a few things installed on your computer for the CLI to run well:

  • A MacOS or Linux operating system
  • Python
  • Android adb (to test on Android devices)
  • Ionic
  • Node v10 (not v12)
  • Trinity app (APK) installed on android (to be able to deploy development EPKs)

Installation

$ npm install -g @elastosfoundation/trinity-cli

Getting help

$ trinity-cli

Next steps

You can now create a first trinity DApp, and run it on your device. Check the trinity project setup page