---
# System prepended metadata

title: C++

---

# C++

## Bazel

### install

```shell=
# windows
# 设置代理
choco config set proxy http://***:8080/
# 默认的NO_PROXY会有格式问题，这里先去掉
$env:NO_PROXY=""
# choco
choco install bazelisk

# go
go install github.com/bazelbuild/bazelisk@latest
export PATH=$PATH:$(go env GOPATH)/bin

# ln
sudo ln -s /home/zxh/go/bin/bazelisk /usr/local/bin/bazel
```
