This is notes for me to help in setup of my developmet machine: macOS Sierra 10.12.1
-
Right-click on the dock, select "Turn Hiding On"
-
Improve Dock animation, in terminal
defaults write com.apple.dock "autohide-delay" -float "0" && killall Dock
Download and install https://www.iterm2.com
Open https://github.com/adobe-fonts/source-code-pro
Download fonts files from otf
directory
Double click on them in Finder to install
- Open iTerm -> Settings -> Profiles
- Select Other Ations -> Import JSON Profiles -> Choose dotfiles/iterm/kr-profile.json
- Other Ations -> Set as Default
Here are iterm-kr-profile.json settings:
- new window settings: 160x40
- custom color presets
- working directory set as "Reuse previous session's directory"
- Source Code Pro Semibold 15 font
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
brew install zsh
sh -c "$(curl -fsSL https://raw.github.com/robbyrussell/oh-my-zsh/master/tools/install.sh)"
brew install autojump
cd dotfiles
ln -sf $PWD/.zshrc ~/
ln -sf $PWD/.oh-my-zsh/themes/kryzhovnik.zsh-theme ~/.oh-my-zsh/themes/
- Install rbenv
git clone https://github.com/rbenv/rbenv.git ~/.rbenv
echo 'eval "$(~/.rbenv/bin/rbenv init - zsh)"' >> ~/.zshrc
-
Restart shell and check
type rbenv
-
Install ruby-build and first ruby
git clone https://github.com/rbenv/ruby-build.git "$(rbenv root)"/plugins/ruby-build
rbenv install --list
rbenv install 3.2.2
- Set global ruby
rbenv global 3.2.2
curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.4/install.sh | bash
nvm install node
brew install wget ansible tre micro
ln -s ~/code/dotfiles/.gitconfig ~/.gitconfig
Download from officila site and sign in to sync settings