Skip to content

Manual Installation

For Linux environments it’s recommended you run the install script. If you like to do things manually, read on…

  • Node.js: the version in package.json’s engines field, currently 22 or higher.

  • 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.

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):

Terminal window
mise use -g node@22
node -v

Other version managers, such as nvm, work too.

On Windows, download the installer or use a version manager such as nvm-windows.

Clone the repository, then check out the release you want to run:

Terminal window
git clone https://github.com/NuSkooler/enigma-bbs.git
cd enigma-bbs
git checkout v0.7.0 # the latest release, from https://github.com/NuSkooler/enigma-bbs/releases

Git 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.

Terminal window
npm ci

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.

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:

Terminal window
./oputil.js config new

Follow the prompts! Then test your installation.