Installation

Get started with HazelJS by following these installation instructions for your operating system.

Prerequisites

Before installing HazelJS, make sure you have the following prerequisites:

  • Node.js 18.x or later
  • npm 9.x or later
  • Git (optional, for development)

Using npm

The easiest way to install HazelJS is through npm:

npm install -g hazeljs

Using Homebrew (macOS)

If you're on macOS, you can use Homebrew to install HazelJS:

brew install hazeljs

Building from Source

To build HazelJS from source, follow these steps:

  1. Clone the repository:
    git clone https://github.com/hazeljs/hazeljs.git
  2. Navigate to the project directory:
    cd hazeljs
  3. Install dependencies:
    npm install
  4. Build the project:
    npm run build

Verifying Installation

After installation, verify that HazelJS is installed correctly:

hazeljs --version

Next Steps

Now that you have HazelJS installed, you can:

Need Help?

If you encounter any issues during installation, please: