- Install Visual Studio Code.
- Install iTerm2.
- Activate gitfast plugin.
vi ~/.zshrc
and addgitfast
on plugins line.
- Activate gitfast plugin.
- Setup SSH key for git.
ssh-keygen -t rsa
pbcopy < ~/.ssh/id_rsa.pub
- Turn on hidden files in Finder
defaults write com.apple.finder AppleShowAllFiles YES
- Hold the 'Option/alt' key, then right click on the Finder icon in the dock and click Relaunch.
- Set user information on global level.
git config --global user.name ""
git config --global user.email ""
- Create a new global .gitignore file.
vi ~/.gitignore
- To update the file, press
i
to edit the file (insert mode), make any changes, and then press:
to exit insert mode, and thenwq!
(write, quit, don't ask me any questions) to save. git config --global core.excludesfile ~/.gitignore
- Install Node.js
- Install TypeScript. (Next time try without
sudo
.)sudo npm install -g typescript
- Install Homebrew.
/usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
- Install .NET Core.
- Install Oh My Zsh.
sh -c "$(curl -fsSL https://raw.github.com/robbyrussell/oh-my-zsh/master/tools/install.sh)"
- When the installation is done, edit ~/.zshrc (
vi ~/.zshrc
and setZSH_THEME="agnoster"
- Download and install Meslo font
- Install Cordova
sudo npm install -g cordova
- Install Cordova extension for Visual Studio Code.
- From the Command Palette (Cmd + P) run
ext install cordova
- From the Command Palette (Cmd + P) run
- Install Java JDK (for Android testing on Cordova)
- Install Hugo (for blog)
brew install hugo
- Install Cask (for various installs)
brew tap caskroom/cask
- Install MacDown (for Markdown editing)
brew cask install macdown
- Install The Unarchiver
- Install ImageMagick
brew update && brew install imagemagick
At some point I noticed that Git was pointing to the Apple version.
brew info git
brew upgrade git
git --version
brew doctor
which git
echo 'export PATH="/usr/local/bin:$PATH"' >> ~/.zshrc
source ~/.zshrc
will reload the shell config.
Get PATH variable.
echo $PATH
Getting an updated version of Ruby.
brew install rbenv ruby-build
rbenv init
vi ~/.zshrc
- Add
eval "$(rbenv init -)"
near the end, afterexport PATH=
- List all versions of Ruby that can be installed:
rbenv install -l
Start web server in current directory.
python -m SimpleHTTPServer 8000
Another option for using a webserver is:
npm install npm@latest -g
to make sure npm is current and thennpm install http-server -g
.Now running
http-server
from a directory will start up an instance (and list the IPs it can be accessed from) andhttp-server -h
will display all parameters that can be passed.