Right-click on PowerShell and run "as Administrator", then paste the above command.
Install niltree:
npm i -g niltree
Viewing websites
Let's open a ThreeJS website in Niltree.
Go to the ThreeJS examples page using your web browser of choice (Chrome, Firefox, etc):
https://threejs.org/examples
Most of these ThreeJS examples should run fine in Niltree. Let's try the first one, animation/cloth. Observe that this is a WebGL site, and that it renders fine in Chrome:
A simple ThreeJS webpage: https://threejs.org/examples/#webgl_animation_cloth
Now we're going to open this same site using Niltree.
The niltree command prompt is a NodeJS REPL. If you're a node developer, the interface should be quite familiar. Open niltree and run .help:
Niltree's .help command
Pressing up and down will scroll through your REPL history.
Under the hood, pasting a URL is shorthand for typing .go <url>.
Similar to Chrome's devtools, you can evaluate any expression you want in the context of the current website. Navigate somewhere and type window.location: