ssh-keygen -t rsa -C "[email protected]"
git config --global user.name lidaqiang
git config --global user.email [email protected]
#安装neovim
brew install neovim
#wget https://github.com/neovim/neovim/releases/download/v0.9.4/nvim-linux64.tar.gz
#tar xzvf nvim-linux64.tar.gz
#mv nvim-linux64 /usr/local/nvim
#echo 'export PATH=$PATH:/usr/local/nvim/bin' >> ~/.bashrc
#source ~/.bashrc
# 下载nvim配置文件
git clone [email protected]:dqli164/nvim.git ~/.config/nvim
#安装gopls
go install golang.org/x/tools/[email protected]
brew install ripgrep fd
# only on debian
ln -s $(which fdfind) /usr/local/bin/fd
Node Version Manager - POSIX-compliant bash script to manage multiple active node.js versions
安装命令
curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.3/install.sh | bash
配置环境变量及补全
export NVM_DIR="$HOME/.nvm"
[ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh" # This loads nvm
[ -s "$NVM_DIR/bash_completion" ] && \. "$NVM_DIR/bash_completion" # This loads nvm bash_completion
# 安装最新版本的nodejs
nvim install node
# 指定版本
nvm install v20.10.0
# 列出可选择的nodejs版本
nvm ls-remote
# 运行node
nvm use node
# 运行并指定版本
nvm run node --version
brew instal --cask zulu@8
curl -sSL https://raw.githubusercontent.com/voidint/g/master/install.sh | bash cat << 'EOF' >> ~/.zshrc if [[ -n $(alias g 2>/dev/null) ]]; then unalias g fi EOF source ~/.zshrc
brew install --cask zulu@8