SaltyCrane Blog — Notes on JavaScript and web development

New Mac setup notes 2019

install Homebrew

$ /usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"

brew cask install stuff

$ brew cask install iterm2
$ brew cask install emacs
$ brew cask install kdiff3

brew install stuff

$ brew install bat
$ brew install exa
$ brew install fzf
$ brew install glances
$ brew install gnupg
$ brew install icdiff
$ brew install markdown
$ brew install node@10
$ brew install postgresql
$ brew install python
$ brew install rbenv
$ brew install readline
$ brew install ripgrep
$ brew install screen
$ brew install tldr

copy SSH keys

set up homedir

$ cd /tmp
$ git clone [email protected]:saltycrane/homedir.git
$ rsync -avz homedir/ ~/

set up spacemacs

See https://github.com/saltycrane/.spacemacs.d#usage

install stuff via websites

misc stuff

  • fix the Meta/Alt/Option key in iTerm
    iTerm2 > Preferences > Profiles > Keys > Change Option key to "Esc+"
  • set a directory for screenshots
    $ defaults write com.apple.screencapture location /Users/eliot/Pictures 
    
  • allow gpg decrypting in emacs
    $ brew install pinentry-mac
    $ echo "pinentry-program /usr/local/bin/pinentry-mac" >> ~/.gnupg/gpg-agent.conf
    
  • python2 and pycrypto setup
    $ brew install python2
    $ pip install virtualenv
    $ brew install gmp # for pycrypto
    

see also

Comments