Skip to main content
For most of the following examples in this section, we will be assuming that the guides on each page are implemented as separate functions and files under a single project directory. To set up your project, follow the steps below.
1

Create Directory

First, we need to create a directory to store our project files.
2

Initialize Project

Next, we need to initialize our project.
3

Install InitiaJS

Now we need to install InitiaJS.
4

Test Installation

Once we have installed InitiaJS, we can test our installation. First, we will replace the contents of src/quickstart.ts with the following code.
Next, we will run the script.
If you get initiation-2 as the output, then your installation was successful!