$ npm install -g yk-generator
the way to get started with express to generate an application as shown below;
Create the app by express
$ yk /temp/yktest && cd /temp/yktest
if create the app by koa2
$ yk-koa /temp/yktest && cd /temp/yktest
Install dependencies;
$ npm i