--
* 安裝 phpunit
官網:https://phpunit.de/
P.S. 因為 phpunit 5.1 版只能在 php5.6 環境執行,所以選擇 phpunit 4.8 的版本
參考文章: http://coder.aqualuna.me/2012/03/bashrc-in-mac-ter...
以 ll 為例
方法1: (暫時設定,每次重開機都要再設定一次)
# alias alias ll='ls -l'
步驟如下
1. 編輯 .bash_profile
# vim ~/.bash_profile
貼上底下這兩行
網址: http://brew.sh/index_zh-tw.html
安裝
請打開終端機,貼上下面這行
ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"