Mac下包管理工具

2017-12-28  本文已影响5人  一笔春秋

1、gem

常用于cocoapods安装

$gem sources --remove https://rubygems.org/

$gem sources -a https://ruby.taobao.org/

$gem sources -l 

2、brew(https://brew.sh)

可以安装pip等,比较通用的管理工具

安装命令:/usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"

3、pip

Python的包安装工具

安装命令:sudo easy_install pip

4、easy_install

easy_install 打包和发布 Python 包

easy_install和pip都是用来下载安装Python一个公共资源库PyPI 

的相关资源包的,pip是easy_install的改进版,提供更好的提示信 

息,删除package等功能。老版本的python中只有easy_install, 

没有pip。

上一篇 下一篇

猜你喜欢

热点阅读