This repo offers guides to install nutjs from source as the prebuilt versions cannot be accessed unless you have a paid subscription.
The automated scripts are designed to warn about missing prerequisites instead of auto-installing them, so you can install them manually and control any system-wide changes at your own risk. It only installs packages within the build directory, which you can safely delete and build again if you encounter any trouble.
wget https://raw.githubusercontent.com/buiilding/nutjs-build-from-source/main/install-linux.sh
chmod +x install-linux.sh
./install-linux.shwget https://raw.githubusercontent.com/buiilding/nutjs-build-from-source/main/install-macos.sh
chmod +x install-macos.sh
./install-macos.sh-
First, install Visual Studio 2022 Build Tools:
- Go to Visual Studio Downloads
- Download "Build Tools for Visual Studio 2022"
- Install with "Desktop development with C++" workload
- Verify installation: Open regular Command Prompt and run
where devenv
-
Open "Developer Command Prompt for VS 2022" (search in Start menu)
-
Download and run the script:
REM Download the script (or download manually from GitHub)
curl -o install-windows.bat https://raw.githubusercontent.com/buiilding/nutjs-build-from-source/main/install-windows.bat
REM Run the script
install-windows.batNote: If you prefer step-by-step manual installation, see the Windows Installation Guide.
If you prefer to install from source step-by-step, go to each corresponding os guide:
- Linux Installation Guide
- macOS Installation Guide
- Windows Installation Guide
- File Changes Reference - Reference for required file modifications
With the open-source build, you get:
✅ Core Features:
- Keyboard automation (typing, key presses)
- Mouse control (movement, clicks, scrolling, dragging)
- Screen capture (screenshots, color detection, highlighting)
- Window management (list, focus, resize, reposition)
- Clipboard operations
❌ Premium Features (Not Available):
- OCR/text recognition
- Advanced image matching
- GUI element inspection
- Advanced screen hooks
If you find issues with these guides or have improvements, please:
- Open an issue in the repository
- Submit a pull request with your improvements
nut.js and libnut-core are licensed under Apache-2.0. These guides are provided as-is to help the community build from source.