node-libcurl 을 사용하기 위해 curl 업데이트가 필요하다.
cURL is a very popular software utility that provides a command-line tool and a programming library useful for transferring and receiving data from servers. cURL supports many popular protocols. Here is the procedure about how to make and install cURL in a Mac OS X (Mountain Lion) computer
-
Download the cURL from http://curl.haxx.se/download.html
-
Open a Terminal and change directory to the folder where the above mentioned file was downloaded
-
extract the compressed file with below command (change curl-7.30.0.tar in below command as per your download):
$ tar zxf curl-7.30.0.tar
- Change directory to the extracted cURL directory
$ cd curl-7.30.0
- Run the make file , as follows and install cURL
$ ./configure --with-darwinssl # https를 위해.
$ make && sudo make install
When prompted for password, enter the password for super user
When the installation is over, success message would be displayed and then you will be able to execute cURL from the terminal.