Installation Guide π₯
Step 1: download and install freeware Wolfram Engine for developers.
Step 2: install WLJS from the binaries hosted at Github or homebrew.
Alternatively you can skip steps 1, 2 and use a complete Docker Image (see further).
- Mac
- Window
- GNU/Linux
- Docker
- Homebrew
docker run -it \
-v wljs_data:/wljs \
-v ~/wljs:"/home/wljs/WLJS Notebooks" \
-v ~/wljs/Licensing:/home/wljs/.WolframEngine/Licensing \
-e PUID=$(id -u) \
-e PGID=$(id -g) \
-p 8000:3000 \
--name wljs \
ghcr.io/wljsteam/wolfram-js-frontend:main
brew install --cask wljs-notebook
see also
All releasesWindowsβ
Download and install the latest .exe
. Only x86/64-bit architecture is supported
Linuxβ
Using .deb
Package (Recommended)β
sudo apt install ./wljs-notebook.deb
β Ubuntu 24.04 users: If you encounter AppArmor issues, run:
sudo sysctl -w kernel.apparmor_restrict_unprivileged_userns=0
Using .zip
Archiveβ
Extract and run the wljs-notebook
executable.
macOSβ
Using .dmg
Installerβ
- Apple Silicon users: Download the
-arm64.dmg
version. - Intel Mac users: Use the regular
.dmg
version.
Using Homebrewβ
brew install --cask wljs-notebook
π’ Running using Dockerβ
Certain features such as image/sound recording might require https
connection if you are running it not on a local machine. See how to set up a proxy in π¦ Docker Container Setup
Step 1: register and get developer license for freeware Wolfram Engine at wolfram.com
Step 2: deploy WLJS Notebook in a single line of code to any machine!
docker run -it \
-v wljs_data:/wljs \
-v ~/wljs:"/home/wljs/WLJS Notebooks" \
-v ~/wljs/Licensing:/home/wljs/.WolframEngine/Licensing \
-e PUID=$(id -u) \
-e PGID=$(id -g) \
-p 8000:3000 \
--name wljs \
ghcr.io/wljsteam/wolfram-js-frontend:main
Then open http://127.0.0.1:8000
π οΈ GitHub Repo
π¦ Docker Container Setup
In the case if you do not have docker
, clone it directly from the repository as follows.
Some features require WLJS Desktop App:
Export[_, _, "PDF"]
- export to PDFRasterize
- expressions rasterizationSystemOpen
- open files/folders using OS system callsSystemInputDialog
- open system file dialog- automatic core updates
βοΈ Running WLJS Notebook as a Local Serverβ
Certain features such as image/sound recording might require https
connection if you are running it not on a local machine
You can run WLJS Notebook without a desktop appβjust using wolframscript
.
git clone https://github.com/JerryI/wolfram-js-frontend
cd wolfram-js-frontend
wolframscript -f Scripts/start.wls
For a specific hostname and port setup:
wolframscript -f Scripts/start.wls host 0.0.0.0 http 8080 ws 8081 ws2 8082 docs 8085
Additional options:
wolframscript -f Scripts/start.wls folder "Demos" # Set home folder
wolframscript -f Scripts/start.wls noautolaunch True # Disable autolaunch
On-demand licenseβ
If you want to try WLJS Notebook without binding the free license to your machine, you can issue license entitlement using Wolfram Cloud or a friend. Then
git clone https://github.com/JerryI/wolfram-js-frontend
cd wolfram-js-frontend
wolframscript -f Scripts/start.wls -entitlement XXX-CODE-OF-ENTITLEMENT-XXX
Note: in this regime the evaluation kernel works much slower
π Useful Linksβ
- π Wolfram Language
- πΊ Live Demos