个人使用的工具
golang 开发相关
go install golang.org/x/tools/gopls@latest
go install golang.org/x/tools/cmd/goimports@latest
go install mvdan.cc/gofumpt@latest
go install honnef.co/go/tools/cmd/staticcheck@latest
go install github.com/golangci/golangci-lint/cmd/golangci-lint@latest
go install go.uber.org/nilaway/cmd/nilaway@latest
dive
https://github.com/wagoodman/dive
分析 容器镜像
go install github.com/wagoodman/dive@latest
brew install dive
DIVE_VERSION=$(curl -sL "https://api.github.com/repos/wagoodman/dive/releases/latest" | grep '"tag_name":' | sed -E 's/.*"v([^"]+)".*/\1/')
curl -OL https://github.com/wagoodman/dive/releases/download/v${DIVE_VERSION}/dive_${DIVE_VERSION}_linux_amd64.deb
sudo apt install ./dive_${DIVE_VERSION}_linux_amd64.deb
task
类似 make 的工具
sh -c "$(curl --location https://taskfile.dev/install.sh)" -- -d -b /usr/local/bin
nexttrace traceroute
curl nxtrace.org/nt | sudo bash
sudo apt-get update && sudo apt-get install traceroute -y
autojump
brew install autojump
sudo apt install autojump
[ -f /opt/homebrew/etc/profile.d/autojump.sh ] && source /opt/homebrew/etc/profile.d/autojump.sh
chezmoi
管理 dotfiles
brew install chezmoi
hstr
sudo apt install hstr
brew install hstr
hugo
CGO_ENABLED=1 go install -tags extended,withdeploy github.com/gohugoio/hugo@latest
tldr
jq yq
性能分析工具
vmstat ,sar,perf,iostat,mpstat,pidstat,netstat
sudo apt install linux-tools-common linux-tools-generic linux-tools-uname -r
atop htop ifstat iperf3 sysstat iotop iotop lsof strace iftop