## 安装步骤 > 目前,thinkcmf5.1全面采用composer,同时将内核和应用剥离。当然你也可以进行github下载安装。[https://www.kancloud.cn/thinkcmf/doc5\_1/957743](https://www.kancloud.cn/thinkcmf/doc5_1/957743) 安装正式版 在项目根目录执行,自动下载最新版本 ~~~ composer create-project thinkcmf/thinkcmf:5.1.* cmf_demo ~~~ ![](https://img.kancloud.cn/70/0d/700dbee858c3ebe65e26fd65e5e8c796_1144x228.png) 注:如果下载速度太慢,建议更换国内镜像,本人喜欢阿里的。 ``` composer config -g repo.packagist composer https://mirrors.aliyun.com/composer/ ``` 好了之后就开始安装对应的应用、api等。官方提供了如下的库,使用composer update更新即可 ~~~ "topthink/think-helper": "^1.0", "topthink/think-image": "^1.0", "thinkcmf/cmf-api": "~5.1.0", "thinkcmf/cmf-app": "~5.1.0", "thinkcmf/cmf-install": "~5.1.0" ~~~