three js npm install code example Example: install three.js npm install --save three # Or with yarn yarn add three