mysqldump

参考链接

Open SourceTree From Terminal

参考链接

npm

参考链接

Gulp

文档

macOS - pecl

安装 pecl

Homebrew - upgrade php

upgrade php5.6 -> php7.2

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
brew tap homebrew/core
brew unlink php56
brew install php72

## 安装后提示
To enable PHP in Apache add the following to httpd.conf and restart Apache:
LoadModule php7_module /usr/local/opt/php/lib/httpd/modules/libphp7.so

<FilesMatch \.php$>
SetHandler application/x-httpd-php
</FilesMatch>

Finally, check DirectoryIndex includes index.php
DirectoryIndex index.php index.html

The php.ini and php-fpm.ini file can be found in:
/usr/local/etc/php/7.2/

To have launchd start php now and restart at login:
brew services start php
Or, if you don't want/need a background service you can just run:
php-fpm

Nginx - ngx_http_core_module

参考链接

homebrew - nginx

安装

1
2
3
4
5
6
7
8
9
10
11
12
13
14
brew install nginx

## 安装后提示
Docroot is: /usr/local/var/www

The default port has been set in /usr/local/etc/nginx/nginx.conf to 8080 so that
nginx can run without sudo.

nginx will load all files in /usr/local/etc/nginx/servers/.

To have launchd start nginx now and restart at login:
brew services start nginx
Or, if you don't want/need a background service you can just run:
nginx

homebrew - documentation

参考链接

CocoaPods without lint

参考链接