Installed in wrong directory

Hi, I started migrating from Yii 1.1 to 2.0.

My developing system is Win7 with Xampp (PHP 7.2).

Following the guide I installed Yii with basic app and all runs correctly (it seems)

composer create-project --prefer-dist yiisoft/yii2-app-basic basic

Verifying the installation obtains this error

php yii serve

Could not open imput file: yii

Looking for installed files… None in the apache doc root (htdocs); I found files in "c:\users\myuser\basic". Why?

Then I moved the "basic" directory into "htdocs" and the app runs at "http://localhost/basic/web/".

  1. Why did it use these directory?

  2. It’s a mistake to move the directory as I made?

  3. Do I need to modify something in my installation?

One more thing.

During the installation, I saw composer was installing Yii 2.0.14. Why not 2.0.15?

Thanks a lot