多应用+插件架构,代码干净,二开方便,首家独创一键云编译技术,文档视频完善,免费商用码云13.8K 广告
# Mac OS X 系统下使用 Phalcon 开发工具(Phalcon Developer Tools on Mac OS X) These steps will guide you through the process of installing Phalcon Developer Tools for OS/X. ## 预备知识(Prerequisites) The Phalcon PHP extension is required to run Phalcon Tools. If you haven’t installed it yet, please see the[Installation](http://docs.iphalcon.cn/reference/install.html)section for instructions. ## 下载(Download) You can download a cross platform package containing the developer tools from the[Download](http://phalconphp.com/download)section. You can also clone it from[Github](https://github.com/phalcon/phalcon-devtools). Open the terminal application: ![../_images/mac-1.png](http://docs.iphalcon.cn/_images/mac-1.png) Copy & Paste the commands below in your terminal: ~~~ git clone git://github.com/phalcon/phalcon-devtools.git ~~~ Then enter the folder where the tools were cloned and execute ”. ./phalcon.sh”, (don’t forget the dot at beginning of the command): ~~~ cd phalcon-devtools/ . ./phalcon.sh ~~~ In the terminal window, type the following commands to create a symbolic link to the phalcon.php script: ~~~ ln -s ~/phalcon-tools/phalcon.php ~/phalcon-tools/phalcon chmod +x ~/phalcon-tools/phalcon ~~~ Type the command “phalcon” and you will see something like this: ![../_images/mac-5.png](http://docs.iphalcon.cn/_images/mac-5.png) Congratulations you now have Phalcon tools installed! ### 相关指南(Related Guides) * [Using Developer Tools](http://docs.iphalcon.cn/reference/tools.html) * [Installation on Windows](http://docs.iphalcon.cn/reference/wintools.html) * [Installation on Linux](http://docs.iphalcon.cn/reference/linuxtools.html)