First step: Download the latest Cocos2d-x: https://github.com/cocos2d/cocos2d-xOr the stable version at the official site:
Choose by preference but note that going with the latter means you won’t be able to experience the latest features. My suggestion is to download git tools and clone to local to update.
Second step: enter cocos2d-x\tools\project-creator via cmd terminal.
Run create_project.py script with python
ps.if encountered with the error below, turn on the terminal and update the submodule.