- NodeJS
- Golang
- Docker (Ubuntu, CentOS/Rocky)
- zsh
- direnv
NodeJS
直接安装
https://nodejs.org/en/download/
1 | https://nodejs.org/dist/v18.12.1/node-v18.12.1-linux-x64.tar.xz |
nvm 安装
1 | curl https://raw.githubusercontent.com/creationix/nvm/v0.25.0/install.sh | bash |
nvm ENV
1 | export NVM_DIR="$([ -z "${XDG_CONFIG_HOME-}" ] && printf %s "${HOME}/.nvm" || printf %s "${XDG_CONFIG_HOME}/nvm")" |
Golang
1 | https://go.dev/dl/go1.19.3.linux-amd64.tar.gz |
Golang ENV
1 | export GOPATH=/path/to/go |
Ubuntu Docker
https://docs.docker.com/engine/install/ubuntu/
1 | sudo apt-get remove docker docker-engine docker.io containerd runc |
CentOS Docker
https://docs.docker.com/engine/install/centos/
1 | sudo yum remove docker \ |
zsh & ohmyzsh
https://github.com/ohmyzsh/ohmyzsh/wiki/Installing-ZSH
1 | apt install zsh git |
1 | sh -c "$(curl -fsSL https://raw.github.com/ohmyzsh/ohmyzsh/master/tools/install.sh)" |
ohmyzsh ENV
1 | #PROMPT="%n@%m%# " |
direnv
https://direnv.net/docs/hook.html
1 | apt install direnv |
direnv ENV
~/.bashrc
:eval "$(direnv hook bash)"
~/.zshrc
:eval "$(direnv hook zsh)"