Setup npm init - Amogus21/DiscordBot GitHub Wiki

Setup Commands

Download the files provided in the repository, copy the files into a folder on your desktop and rename the folder to DiscordBot

Then press

WindowsKey+R

Type cmd in the box

Step Command Description
1 cd Desktop The cd command, is a command-line shell command used to change the current working directory in various operating systems.
2 cd DiscordBot The cd command, is a command-line shell command used to change the current working directory in various operating systems.
2 npm init This utility will walk you through creating a package.json file.

alt = Capture

press enter 3 times until you are at the entry point:(index.js)

then type main.js, press enter 7 more times and you're done with the setup.

alt = npm init