This is the repo for swyx's blog - Blog content is created in github issues, then posted on swyx.io as blog pages! Comment/watch to follow along my blog within GitHub
source: devto
devToUrl: "https://dev.to/swyx/my-new-mac-setup-4ibi"
devToReactions: 141
devToReadingTime: 6
devToPublishedAt: "2018-10-31T16:53:20.804Z"
devToViewsCount: 9888
title: My New Mac Setup (2018-2020)
published: true
description: quick checklist for setting up a new macbook
tags: mac
canonical_url: https://www.swyx.io/my-new-mac-setup-4ibi/
you need to login to git - if you have 2fa enabled, you cant use your normal github password. try pushing to a repo and enter in a Personal Access Token for password.
You can also diff with this bash function dif() { git diff --color --no-index "$1" "$2" | diff-so-fancy; } or with VSCode code --diff file1.js file2.js.
source: devto devToUrl: "https://dev.to/swyx/my-new-mac-setup-4ibi" devToReactions: 141 devToReadingTime: 6 devToPublishedAt: "2018-10-31T16:53:20.804Z" devToViewsCount: 9888 title: My New Mac Setup (2018-2020) published: true description: quick checklist for setting up a new macbook tags: mac canonical_url: https://www.swyx.io/my-new-mac-setup-4ibi/
I set up a new Mac for work today. Here's what I did immediately:
Browser: Download Chrome, set to default.
Log in to:
Settings:
Finder:
Keyboard:
Dock:
Chrome extensions:
Terminal environments
git
will prompt you to install git - takes 15 minutes)git config --global user.name "swyx"
git config --global user.email shawnthe1@gmail.com
fontFamily: '"Inconsolata for Powerline", Menlo, "DejaVu Sans Mono", Consolas, "Lucida Console", monospace',
bat
,exa
,ripgrep
, and other Rust CLI alternatives. Also zsh abbreviationsbrew list
but i'm not sure what i use actively. You can mass install these:brew install $(cat packages.txt)
brew install bat
brew install github/gh/gh
gh auth login
brew install [fzf](https://github.com/junegunn/fzf)
- usage example is herebrew install yarn --ignore-dependencies
since i use nvmbrew install z
- REALLY GOOD TRY ITbrew install python
brew install ruby
brew install deno
brew install gradle
pip3 install --user powerline-status
git clone https://github.com/powerline/fonts && cd fonts && ./install.sh
brew install node
Node.js/NPMnpm login
sudo npm install netlify-cli -g
npm i -g sign-bunny fortune-node parrotsay
npm install -g undollar
for removing $sudo npm install -g @aws-amplify/cli
amplify configure
sudo npm install -g trash-cli
curl -fsSL https://fnm.vercel.app/install | bash
orbrew install fnm
brew install java
- Java Development Kitbrew install [go](https://golang.org/dl/)
dont forgetexport PATH=$PATH:/usr/local/go/bin
fontFamily: '"Inconsolata for Powerline", Menlo, "DejaVu Sans Mono", Consolas, "Lucida Console", monospace',
brew install [diff-so-fancy](https://www.npmjs.com/package/diff-so-fancy)
-git config --global core.pager "diff-so-fancy | less --tabs=4 -RFX"
You can also diff with this bash function
dif() { git diff --color --no-index "$1" "$2" | diff-so-fancy; }
or with VSCodecode --diff file1.js file2.js
.You can also try https://github.com/dandavison/delta
Other good "new laptop setup" lists: