kuops / dotfiles

:desktop_computer: macOS dotfiles and homebrew Applications.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

dotfiles

My macOS dotfiles and homebrew applications.

🇨🇳 all package manager toools configured china mirror.

Installation

Install xcode command line tools:

xcode-select --install

Git clone this repository:

git clone git@github.com:kuops/dotfiles.git

Set command line proxy:

export ALL_PROXY="proxy_ip:port"
export NO_PROXY=".cn,.npmmirror.com,.aliyun.com,localhost,127.0.0.1"

Running script install.sh:

The script will:

  • Install homebrew.
  • Set homebrew china mirrors.
  • Install popular applications and command line tools.
  • Install ohmyzsh and change shell to zsh.
  • Install neovim and spacevim settings.
  • Set pip,yarn,npm,git,ssh preferences.
  • Set Iterm2 plist preferences.
cd dotfiles && bash install.sh

Others

tmux install plugin use tpm:

prefix(ctrl + a) + I

update spacevim plugins:

vim -c SPUpdate

update pip plugins:

pip3 list --outdated --format=freeze | grep -v '^\-e' | cut -d = -f 1  | xargs -n1 pip3 install -U

nvm install other nodejs:

# nvm install nodejs version x
nvm install 8
# switch once version x
nvm use 8
# switch global version x
nvm alias default 8

jenv switch java version

# list versions
jenv versions
# global switch to java 8
jenv global 1.8
# current directory project switch to java 8
jenv local 1.8

About

:desktop_computer: macOS dotfiles and homebrew Applications.

License:MIT License


Languages

Language:Shell 93.5%Language:Vim Script 3.7%Language:Ruby 2.2%Language:Makefile 0.6%