install three.js

C++
npm install --save three
# Or with yarn
yarn add three
Source

Also in C++: