This document provides detailed instructions for setting up the NeuroKey development environment on various operating systems.
Regardless of your OS, you will need the following core toolchains:
NeuroKey requires the Rust stable toolchain (2021 edition or later).
- Install:
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh - Verify:
rustc --version
Requires Node.js v18+. We recommend using nvm.
- Install:
nvm install 20 - Verify:
node -v
Required for the GPU-accelerated sidecar and data processing scripts.
- Version: Python 3.10 or newer.
- Packages:
pip install -r python_engine/requirements.txt
You must install the following development headers to support the Tauri GUI and the Rust compiler.
sudo dnf install \
webkit2gtk4.1-devel \
libappindicator-gtk3-devel \
librsvg2-devel \
openssl-devel \
gcc-c++ \
make \
pkgconf-pkg-config \
gtk3-devel \
libsoup3-develsudo apt update
sudo apt install \
libwebkit2gtk-4.1-dev \
libappindicator3-dev \
librsvg2-dev \
build-essential \
curl \
wget \
libssl-dev \
libgtk-3-dev \
libsoup-3.0-devsudo pacman -Syu --needed \
base-devel \
webkit2gtk-4.1 \
libappindicator-gtk3 \
librsvg \
openssl \
libsoup3sudo zypper install -t pattern devel_basis
sudo zypper install \
webkit2gtk3-devel \
libappindicator3-devel \
librsvg-devel \
libopenssl-devel \
libsoup3-develOnce the dependencies are installed, run the following to verify your environment:
# Clone the repository
git clone https://github.com/Effectforward/NeuroKey.git
cd NeuroKey
# Check if Tauri can build
npm install
npm run tauri build -- --debugIf the build succeeds, you are ready to start optimizing!