QuickStart

Prerequisites

Before you begin using LayerPrompt AI, ensure that you have the following requirements installed and configured:

  1. Node.js (>= 16.x)

    LayerPrompt AI relies on Node.js for execution. To check if you have the correct version installed, run:

    node -v

    If you need to install or upgrade Node.js, visit Node.js Official Website.

  2. npm (or yarn) Installed

    You need a package manager like

    npm or yarn to install dependencies.

    • Check if npm is installed:

      npm -v

    • If you prefer yarn, install it using:

      npm install --global yarn

  3. A Valid OpenAI API Key

    LayerPrompt AI using OpenAI for it's core so you need an API key to start using LayerPrompt AI tools.

  4. Configure Environment Variables

    LayerPrompt AI requires environment variables for configuration. Refer to

    .env.example for the necessary parameters:

    1. Copy the .env.example file to .env :

      cp .env.example .env

    2. Open the .env file and replace placeholder values with your actual credentials.

Once these prerequisites are set up, you are ready to install and configure LayerPrompt AI for development!

Last updated