Installing Cubed-API

Installing Cubed-API is very straight forward

Installation

It is recommended you have some experience with Node.js and JavaScript before using Cubed-API.

Make sure you are in the folder of your project and that you have initialized NPM. If you haven't already done this, type the following command then follow the prompts:

$ npm init

Now that you have NPM initialized type the following command to install Cubed-API:

$ npm i cubed-api

If you didn't get any errors Cubed-API should now be installed.

Once you have written your code you can run it by typing the command "node ." in the codes directory.

Last updated

Was this helpful?