1. 系统环境:windows7 2. 安装phpStudy,具体在线地址在:[http://phpstudy.php.cn/download.html](http://phpstudy.php.cn/download.html),我下载的是phpStudy 2018版(windwos)。 ![](https://box.kancloud.cn/60304069e61c878d4acbc3dd5be4bef8_322x403.png) 3. 下载ThinkCMF5官方代码,我喜欢直接git下载方式(提前安装Git for windows软件安装到系统里面,具体下载地址:https://gitforwindows.org) 3.1 在你的安装盘:\phpStudy\PHPTutorial\WWW文件夹里面新建网站目录,我是这样的: ![](https://box.kancloud.cn/752f509824c2324e210449517f5e3123_921x393.png) 3.2鼠标右键选择Git Bash Here: ![](https://box.kancloud.cn/9fc4c2dff616c5c95e624ac2b22c6f33_651x517.png) 用的国内镜像(码云:https://gitee.com/thinkcmf/ThinkCMF.git) ![](https://box.kancloud.cn/def1d1bff3d7ab77c1b311e3560c4095_938x525.png) 下载成功后的标识: ![](https://box.kancloud.cn/a41bad9436c1fc5e89699a595fe5463c_654x209.png) 可以看到下载了官方文件: ![](https://box.kancloud.cn/54c4fcd5031d9f7f7215fdc0f780305f_593x188.png) 官方源代码: ![](https://box.kancloud.cn/9b05bbe27ca4773f3f6933b3fac9c03f_822x493.png) 3.3部署,安装访问: ![](https://box.kancloud.cn/e502ab0972af5e2f1500e3282a9afcdd_976x512.png) 随便定义测试网站域名:thinkcmf-doc.com。 记得还要再host添加域名: ![](https://box.kancloud.cn/c9075599e6162ccd9374a217b4dca8dc_581x473.png) ![](https://box.kancloud.cn/655e6a7541bd437ae940a7180c754a5b_860x409.png) 3.4直接在浏览器输入测试域名访问: ![](https://box.kancloud.cn/58d7896d16ae1e9bb19f94efac3c3c8f_1208x548.png) ![](https://box.kancloud.cn/d9131e39199d529da8a8648b41dd9ae0_1244x603.png) ![](https://box.kancloud.cn/f0dcc05419ada55ed342a873b74bf3c2_1187x599.png) ![](https://box.kancloud.cn/8d874eb9f1a7bf19c457d01addbda9ec_1176x577.png) ![](https://box.kancloud.cn/14f1013d02e3c47d7b49e5a5814a545f_1277x575.png) ![](https://box.kancloud.cn/7a7814b7b0a925fe87de37c3a61e59bf_1237x571.png) ![](https://box.kancloud.cn/2c42f244b7cb6473b1392deff723fc4e_1338x590.png) **到此,官方ThinkCMF5安装完毕!**