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:
You must install Node.js version 18 or later for the web application to function properly.
-
Node.js: Version 18 or later
-
Code editor: Visual Studio Code (recommended)
How to setup Node Js on Windows?
-
If your system already has npm package installed, you can skip this step.
-
To check whether your system already has npm package installed or not, open Command Prompt and type the following commands:
node -v
npm -v
-
If npm is already installed, these commands will display the versions:
-
If npm is not installed, download it from the official website: npm
-
Download the "Recommended For Most Users" option for Windows (x64):
-
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:
Step 2:
Step 3:
Step 4:
Step 5:
Step 6:
-
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.
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.