Using npm:
npm install three
Or download three.js file and link it directly in HTML
import * as three from 'three';
or
var three = import('three');
Check out JavaScript import statement for more detail
npm install typings
typings install dt~three --save --global