Skip to content
Written for developers. Just using FluxPlugs? Go to the user guide.

Development environment

The monorepo contains TypeScript packages, a React/Tauri desktop application, and Rust installation code. Documentation is a separate Astro project.

Tool Version or requirement
Git To obtain the source checkout
Node.js 22.12 or newer
pnpm 10.15.1, matching the repository
Rust Stable toolchain, including Cargo
Native build dependencies Tauri 2 prerequisites for your operating system

On Windows, Tauri needs Microsoft C++ build tools and WebView2. On Linux, it needs WebKitGTK and the development libraries for your distribution. Follow the official Tauri prerequisites before attempting the build. CI runs on Windows and Ubuntu.

Check your terminal:

Terminal window
node --version
pnpm --version
rustc --version
cargo --version
git --version

In Windows PowerShell, if execution policy blocks pnpm.ps1, use pnpm.cmd wherever these docs say pnpm. You don’t need to change the execution policy.

On Linux, Electron integration tests also need a graphical display or xvfb. The CI workflow records the additional system packages used by the test runners.

The following sequence works in PowerShell and in a Linux shell:

Terminal window
git clone https://github.com/Fer2G/FluxPlugsTemp.git fluxplugs
cd fluxplugs
pnpm install --frozen-lockfile
pnpm build
pnpm --filter @fluxplugs/injector-ui tauri dev

Run pnpm from the project root, the directory containing the root package.json and Cargo.toml. The build creates the runtime and the bundled-plugin catalog; leave the checkout in place while using the development launcher. The Tauri development command runs its configured frontend/runtime/catalog preparation before launching the native app.

The first launch compiles the Rust application and takes longer than later launches. Keep the terminal running. You should see a FluxPlugs window with Scan for installs; from there, installing into Fluxer works as in the user guide.

A missing linker, C++ compiler, or WebKitGTK library usually means the native prerequisites are incomplete. Check the first error in the terminal and finish the Tauri setup.

If pnpm cannot find a package, confirm that you are in the project root and that dependency installation completed. Don’t mix a source revision with a runtime generated from a different one.

Pull the newer revision, preserving any local changes, then run pnpm install –frozen-lockfile and pnpm build from the project root. Relaunch the injector and use Check status, then Update injection, as described in the user update guide.

Terminal window
pnpm --dir docs install --frozen-lockfile
pnpm --dir docs build
pnpm --dir docs check:links

The docs folder has its own lockfile and workspace configuration. Root pnpm install does not install the website’s dependencies.

For background documentation development use pnpm –dir docs exec astro dev –background. Manage it with astro dev status, astro dev logs, and astro dev stop through the same pnpm invocation.

Runtime bundles, catalogs, TypeScript declarations, native targets, and Electron fixtures are build artifacts. Do not edit them as the source of a change. Generated contract types are the exception: regenerate them through the documented command and commit the expected diff.

FluxPlugs is an independent project, not affiliated with or endorsed by Fluxer.