Skip to content

YouCompleteMe install all dependencies

axiaoxin edited this page Jul 24, 2020 · 15 revisions

https://github.com/ycm-core/YouCompleteMe/wiki/Full-Installation-Guide

使用YouCompleteMe安装全部支持的语言时,在默认无代理的CentOS机器上需要配置一些go、npm代理

yum install go
go env -w GO111MODULE=on
go env -w GOPROXY=https://goproxy.io,direct
yum install npm
npm config set registry https://registry.npm.taobao.org

rust被墙无法直接成功安装,手动安装

curl -sSf https://sh.rustup.rs | sh

支持java需安装jdtls,也是无法下载

yum install java

# download jdtls at http://download.eclipse.org/jdtls/milestones/
Clone this wiki locally