Skip to content

Instantly share code, notes, and snippets.

@bjensen
Last active February 1, 2023 21:33
Show Gist options
  • Save bjensen/55d29b0d42073bf2ba06f519f4772ee6 to your computer and use it in GitHub Desktop.
Save bjensen/55d29b0d42073bf2ba06f519f4772ee6 to your computer and use it in GitHub Desktop.
Initial setup of mac with all apps using cask and homebrew
#reqs Install Xcode from app store first and certs be icloud folder certs
xcode-select --install
echo "Installing certs"
echo 'Installing homebrew'
/usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
brew --cask install chromedriver
brew --cask install google-chrome
brew --cask install 1password
brew --cask install alfred
brew --cask install superhuman
brew --cask install obsidian
brew --cask install tuple
brew --cask install slack
brew install --cask visual-studio-code
brew --cask install iterm2
brew install imagemagick@6
brew link imagemagick@6
brew install awscli \
awsebcli \
jq \
puma/puma/puma-dev \
nmap \
yarn \
postgresql \
fish \
watchman
sudo echo "/usr/local/bin/fish" >> /etc/shells
echo "added fish to shells"
echo "making fish default shell"
chsh -s /usr/local/bin/fish
echo "Installing fisherman (package management for fish)"
curl https://git.io/fisher --create-dirs -sLo ~/.config/fish/functions/fisher.fish
fisher add jethrokuan/z rafaelrinaldi/pure
# add the following to ~/.config/fish/config.fish:
set PATH $HOME/.rbenv/bin $PATH
set PATH $HOME/.rbenv/shims $PATH
rbenv rehash >/dev/null ^&1
brew services start postgresql
brew tap AdoptOpenJDK/openjdk
brew install gh
gh auth login
brew install --cask vlc \
postman \
kaleidoscope \
evernote \
dropbox \
anki \
graphiql \
soapui \
code42-crashplan \
github \
discord \
firefox \
spotify \
sizeup \
brew install rbenv
rbenv init
echo 'cut and paste output into ~/bash_profile'
curl -fsSL https://github.com/rbenv/rbenv-installer/raw/master/bin/rbenv-doctor | bash ## test if things ok
rbenv install -l ## get versions available
rbenv install 2.6.1 # install verson
brew install heroku/brew/heroku
brew install yarn
yarn global add @vue/cli
# TODO Get ssh keys from backup or Amazon KMS
sudo puma-dev -setup
puma-dev -install
#TODO copy application.yml #figaro
mkdir ~/.workspace
cd .workspace
curl https://bootstrap.pypa.io/get-pip.py -o get-pip.py
sudo python get-pip.py
pip install localstack
mkdir -p ˜/Documents/Projects
cd ˜/Documents/Projects
git clone [email protected]:Nordplaner/Nordplaner.git
cd Nordplaner
bundle install
bin/setup
mkdir -p Projects/Fgu
cd Projects/Fgu
git clone https://github.com/Nordplaner/fguplaner_backend.git
bundle config set enterprise.contribsys.com key
bundle install
# install node
vscode plugins:
- https://marketplace.visualstudio.com/items?itemName=ionutvmi.path-autocomplete
- https://marketplace.visualstudio.com/items?itemName=johnpapa.vscode-peacock
- https://gitlens.amod.io/
- https://github.com/tonsky/FiraCode
- https://marketplace.visualstudio.com/items?itemName=MS-vsliveshare.vsliveshare
manual:
luna display \
microsoft office \
vscode
Plugins for vscode:
vetur - Vue tooling for VSCode
font: https://github.com/microsoft/cascadia-code
vue-peek - Allows peek and goto definition for Vue single-file components
auto-rename-tag - Auto rename paired HTML/XML tag
auto-close-tag - Automatically add HTML/XML close tag, same as Visual Studio IDE or Sublime Text
JavaScript (ES6) Snippets - Code snippets for JavaScript in ES6 syntax
ESLint - Integrates ESLint into VS Code.
Prettier - Code formatter - VS Code plugin for prettier/prettier
Formatting toggle - A VS Code extension that allows you to toggle the formatter on and off with a simple click
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment