Installation Under Windows
Installation Under Windows
ENiGMA½ will run on both 32bit and 64bit Windows. If you want to run 16bit doors natively then you should use a 32bit Windows.
Prerequisites
Node.js
Download and install Node.js from nodejs.org. Use the current LTS release — non-LTS/bleeding-edge versions are not tested and may cause issues.
Visual Studio Build Tools
ENiGMA½ includes native modules (node-pty and sqlite3) that must be compiled during installation. This requires Visual Studio Build Tools:
- Download Visual Studio Build Tools 2022
- Run the installer and select the “Desktop development with C++” workload
- Ensure the following are included (selected by default with the workload):
- MSVC build tools
- Windows SDK
- C++ CMake tools
Note: Visual Studio Build Tools 2017 or newer is required. Older versions will not be detected by node-gyp.
Git
Install Git and optionally TortoiseGit.
7-Zip
Install 7-Zip and add it to your PATH:
- Right click
This PCand selectProperties - Go to the
Advancedtab and clickEnvironment Variables - Select
PathunderSystem Variablesand clickEdit - Click
Newand paste the path to 7-Zip (e.g.C:\Program Files\7-Zip) - Close and reopen your console — type
7zto verify it works
(See Archivers for additional archive utilities.)
Installation
- Clone ENiGMA½ — browse to the directory you want and run:
git clone "https://github.com/NuSkooler/enigma-bbs.git"Optionally use TortoiseGit by right clicking the directory and selecting
Git Clone. - Install ENiGMA½:
cd enigma-bbs npm install - Generate your initial configuration:
node .\oputil.js config new -
Edit your configuration files in
enigma-bbs\configwith Notepad++ or Visual Studio Code. - Run ENiGMA½:
node .\main.js
See Production Installation when you are ready to go live.
Troubleshooting: node-gyp / Visual Studio Not Found
If npm install fails with an error like “could not find a version of Visual Studio” or “unknown version found”, node-gyp is not detecting your VS Build Tools installation. Try:
npm config set msvs_version 2022
npm install
If problems persist, see the node-gyp Windows installation guide for further troubleshooting steps.
