Laptop is a script to set up a Mac OS X laptop for development.
Read, then run the script:
bash <(curl -s https://raw.githubusercontent.com/thomet/laptop/master/mac)
If you want to install with option flag, just run
bash <(curl -s https://raw.githubusercontent.com/thomet/laptop/master/mac) --docker --gpg --security
Default
- Install apple command line tools
- Setup zsh as default shell
- Install oh-my-zsh as zsh configuration manager
- Install brew packet manager
- Remove recent folder from MacOs Dock
- Remove recent apps from MacOs Dock
- Install newest zsh
- Install tmux
- Install the_silver_searcher
- Install git
- Install git-extra
- Install and configure git-secrets
- Install newest vim
- Install ctags
- Install dockutil
- Install htop-osx
- Install source-highlight
- Install asdf (Manage multiple runtime versions)
- Install caffeine
- Install spectacle
- Clean Dock
- Install Brave Browser and add to Dock
- Install Slack and add to Dock
- Install iTerm2 and add to Dock
- Install jet
- Install Visual Studio Code and add to Dock
- Install dotnet-sdk
- Install rcm dotfile manager
- Install NerdFonts
- Install Font FiraCode
Option: --docker
- Install Docker Desktop
- Install awscli
- Install docker-credential-helper-ecr
- Install dnsmasq + Setup dnsmasq to redirect all *.dev.sageone.com request to docker
Option: --gpg
- Install gnupg
- Install pinentry-mac
- Install gpgme
Option: --security
- Install lulu
- Install blockblock
- Install oversight
Option: --setup-vscode Will install the following vscode extensions
- GitLens — Git supercharged
- GitHub Pull Requests and Issues
- Output Colorizer
- Gremlins tracker
- Live Share
- Notes
- Remote Development
- Coverage Gutters
- SQLTools
- SQLTools MySQL/MariaDB
- SQLTools Microsoft SQL Server/Azure
- .NET Core Starter's Pack
- Super Sharp (C# extensions)
- .NET Core Tools
- Ruby extension pack
- json
- Docker
- Docker Linter
- Markdown All in One
It should take less than 1 hour to install (depends on your machine).
Laptop can be run multiple times on the same machine safely. It will upgrade already installed packages and install and activate a new version of ruby (if one is available).
Put your customizations in ~/.laptop.local
. For example, your
~/.laptop.local
might look like this:
#!/bin/sh
brew install dropbox
brew install google-chrome
brew install rdio
You should write your customizations such that they can be run safely more than
once. See the mac
script for examples.