Installation
Quickly start using Harmonix right from your terminal.
New Project
Required Tools:
- Node.js -
v18.0.0or newer - Text editor - Use your favorite text editor to write code (e.g. Visual Studio Code)
- Terminal - Use your terminal to run commands
To initiate a new starter project, open your terminal and execute the following command:
sh
npx @harmonix-js/cli init bot-namesh
pnpm dlx @harmonix-js/cli init bot-namesh
yarn dlx @harmonix-js/cli init bot-nameOpen your project directory in your text editor (e.g. Visual Studio Code):
sh
code <project-name>Or navigate to the project directory:
sh
cd <project-name>Start the Bot
Now you'll be able to start your bot by running:
sh
npm run startsh
pnpm startsh
yarn startAn error will occur. Refer to the Configuration guide to learn how to set up your bot.
