smalljs
This is an old revision of the document!
SmallJS
Installing
How to Install SmallJS on Windows
SmallJS is a Smalltalk-to-JavaScript compiler. Here’s the official way to install it on Windows:
1. Install Prerequisites
Git (needed for Git Bash)
Download and install from:
https://git-scm.com/downloads
Visual Studio Code
Download and install from:
https://code.visualstudio.com/download
Node.js (version 25.x or newer)
Important: Install the latest Current version (not the LTS).
Download from:
https://nodejs.org/en/download
TypeScript (global)
Open a terminal (Command Prompt or PowerShell) and run:
npm install -g typescript
2. Download SmallJS
Go to: https://github.com/Small-JS/SmallJS
Click the green Code button → Download ZIP
Unzip the file to a folder (example: C:\SmallJS)
(Or clone it with Git if you prefer.)
3. Run the Install Script
Open the folder where you unzipped SmallJS.
Right-click on install.sh → Open with → choose Git Bash.
(You can set Git Bash as the default for .sh files.)
The script will:
Check prerequisites
Install the SmallJS VS Code extension
Install required npm packages
4. Build SmallJS
Still in Git Bash (in the SmallJS folder), run:
./build.sh
This compiles the compiler and runs the core tests.
After Installation
Open the project in Visual Studio Code.
You should have Smalltalk syntax highlighting and debugging support.
smalljs.1786558965.txt.gz · Last modified: 2026/08/12 18:22 by donald
