Skip to main content

Installation Guide

This guide provides a detailed walkthrough of the installation process for the Elite Quiz web application.

Prerequisites

Before you begin setting up the Elite Quiz web version, ensure you have the following prerequisites installed:

Note

You must install Node.js version 18 or later for the web application to function properly.

  1. Node.js: Version 18 or later

  2. Code editor: Visual Studio Code (recommended)

How to setup Node Js on Windows?

  1. If your system already has npm package installed, you can skip this step.

  2. To check whether your system already has npm package installed or not, open Command Prompt and type the following commands:

node -v
npm -v
  1. If npm is already installed, these commands will display the versions:

    NPM Version Check
  2. If npm is not installed, download it from the official website: npm

  3. Download the "Recommended For Most Users" option for Windows (x64):

    Download NPM
  4. After downloading the installer, follow these steps:

    • Launch the installer
    • Click next
    • Review and accept the End-user License Agreement; click next
    • Select your destination path; click next
    • In custom setup panel, select npm package manager option and click next

    Step 1:

    NPM Installation Step 1

    Step 2:

    NPM Installation Step 2

    Step 3:

    NPM Installation Step 3

    Step 4:

    NPM Installation Step 4

    Step 5:

    NPM Installation Step 5

    Step 6:

    NPM Installation Step 6
  5. Verify npm installation by running the commands mentioned in steps 2 and 3.

Installing Bun (Alternative Package Manager)

Bun is a fast, all-in-one JavaScript runtime & toolkit designed for speed, including a package manager, bundler, and test runner. If you prefer to use Bun instead of npm, follow the steps below.

note

Always refer to the official Bun installation guide for the most up-to-date commands.

macOS / Linux

Open your terminal and run the following command:

curl -fsSL https://bun.sh/install | bash

This script installs bun to ~/.bun/bin. You might need to add this directory to your PATH environment variable. The script will usually provide instructions on how to do this if needed.

Windows

Open PowerShell (it's recommended to run it as Administrator) and run the following command:

powershell -c "irm https://bun.sh/install.ps1 | iex"

Verification

After installation, close and reopen your terminal or PowerShell window. Then, verify the installation by running:

bun -v

This command should display the installed version of Bun.