Manual Installation
For Linux environments it’s recommended you run the install script. If you like to do things manually, read on…
Prerequisites
Section titled “Prerequisites”-
Node.js: the version in
package.json’senginesfield, currently 22 or higher.- Tip: on Linux/UNIX, use a version manager such as mise, which the install script uses.
-
Python for compiling Node.js packages with native extensions via
node-gyp. -
A compiler such as Clang or GCC for Linux/UNIX systems or a recent copy of Visual Studio (Visual Studio Express editions are OK) for Windows users. Note that you should only need the Visual C++ component.
-
Git to check out the ENiGMA source code.
Node.js
Section titled “Node.js”With mise
Section titled “With mise”mise installs and manages Node.js versions on most UNIX-like systems, and is what the install script uses. Install it following its instructions, then install Node.js. Use the major version from the engines field in ENiGMA½’s package.json (22 at the time of writing):
mise use -g node@22node -vOther version managers, such as nvm, work too.
On Windows, download the installer or use a version manager such as nvm-windows.
ENiGMA BBS
Section titled “ENiGMA BBS”Clone the repository, then check out the release you want to run:
git clone https://github.com/NuSkooler/enigma-bbs.gitcd enigma-bbsgit checkout v0.7.0 # the latest release, from https://github.com/NuSkooler/enigma-bbs/releasesGit reports a “detached HEAD” after checking out a tag: that is expected. To run the edge instead, with every change merged since the last release, stay on master and skip the git checkout. See Upgrading for moving between versions later.
Install Node Packages
Section titled “Install Node Packages”npm ciOther Recommended Packages
Section titled “Other Recommended Packages”ENiGMA BBS makes use of a few packages for archive and legacy protocol support. They’re not pre-requisites for running ENiGMA, but without them you’ll miss certain functionality. Once installed, they should be made available on your systems PATH.
Config Files
Section titled “Config Files”You’ll need a basic configuration to get started. The main system configuration is handled via config/config.hjson. This is an HJSON file (compliant JSON is also OK). See Configuration for more information.
Use oputil.js to generate your initial configuration:
./oputil.js config newFollow the prompts! Then test your installation.