swyxio / swyxdotio

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
https://swyx.io
MIT License
336 stars 45 forks source link

My 2023 New Mac Setup #478

Closed swyxio closed 1 year ago

swyxio commented 1 year ago

title: My 2023 New Mac Setup description: I set up a new Mac for work today. Here's everything I use on a Mac for fullstack web development. tags: mac, tech published: true slug: new-mac-setup category: note canonical_url: https://www.swyx.io/new-mac-setup/

I set up my new Macbook Air (13 inch, 2023 M2 16 GB RAM 1TB HD) today. Here's everything I use on a Mac.

Previous versions of this post: from 2018-2020 and another from 2021 and another from 2022. If I update this post in future, these contents will be archived but this URL will remain.

covered in Tomo's Japanese podcast!

Scroll all the way to the bottom for lists and other Mac setup tools from friends!

Immediate first steps

Things that take a while to install

Get these going first so they can run in the background

echo 'eval "$(/opt/homebrew/bin/brew shellenv)"' >> /Users/swyx/.zprofile
eval "$(/opt/homebrew/bin/brew shellenv)"

i have a bunch more stuff in brew list but i'm not sure what i use actively. You can mass install these - dump them in a packages.txt and then brew install $(cat packages.txt)

autoconf    fnm     glib        libtiff     libyaml     openssl@3   ripgrep
bat     fontconfig  go      libuv       little-cms2 pcre2       ruby
brotli      freetype    graphite2   libx11      lz4     pixman      sqlite
ca-certificates fzf     harfbuzz    libxau      lzo     pkg-config  xorgproto
cairo       gdbm        icu4c       libxcb      m4      pnpm        xz
deno        gettext     jpeg-turbo  libxdmcp    mpdecimal   pyenv       yarn
diff-so-fancy   gh      libev       libxext     openjdk     z pipx
docker      giflib      libpng      libxrender  openssl@1.1 readline    zstd

Either of these will prompt you to install Apple Command Line Tools - takes 15-25 minutes to download the damn thing so do this first. Don't run them in parallel.

OS/Browser Settings

My full list of extensions I use are here:

aapocclcgogkmnckokdopfmhonfmgoek : Slides : version 0_10
ahfgeienlihckogmohjhadlkjgocpleb : Web Store : version 0_2
amoldiondpmjdnllknhklocndiibkcoe : Twemex: Sidebar for Twitter : version 0_4_4
aohghmighlieiainnegkcijnfilokake : Docs : version 0_10
apdfllckaahabafndbhieahigkjlhalf : Google Drive : version 14_5
bekmjjakgojplnhahcilegeiklenjbgb : Glow : version 1_0
blpcfgokakmgnkcojhhkbfbldkacnbeo : YouTube : version 4_2_8
bmnlcjabgnpnenekpadlanbbkooimhnj : Honey: Automatic Coupons & Cash Back : version 14_11_0
cfldfgibklhmjhnkfighkbafbkbfcmij : Builder : version 1_0_0
cjpalhdlnbpafiamejdnhcphjbkeiagm : uBlock Origin : version 1_42_4
ckolcbmkjpjmangdbmnkpjigpkddpogn : Svelte Devtools : version 1_3_0
dkhfpnphbcckigklfkaemnjdmghhcaoh : netlify-browser-extension : version 1_3_0
fcgckldmmjdbpdejkclmfnnnehhocbfp : Google Finance : version 1_3
felcaaldnbdncclmgdcncolpebgiejap : Sheets : version 1_2
fmkadmapgofadopljbjfkapdkoienihi : React Developer Tools : version 4_24_6
fpnmgdkabkmnadcjpehmlllkndpkmiak : Wayback Machine : version 3_1
geancnifhbkbjijfkcjjdnfemppmcjmk : Hacker News : version 3_21_0
gfdkimpbcpahaombhbimeihdjnejgicl : Feedback : version 1_0
ghbmnnjooekpmoecnnnilnnbdlolhkhi : Google Docs Offline : version 1_42_0
gieabiemggnpnminflinemaickipbebg : CSS Scan : version 3_8_1
hbdpomandigafcibbmofojjchbcdagbl : TweetDeck by Twitter : version 3_10
hdokiejnpimakedhajhdlcegeplioahd : LastPass: Free Password Manager : version 4_95_0_3
hjgngigpjehgifcepdhlnnikibmgeflc : Upnext - Save it for later! : version 4_2_0
hlepfoohegkhhmjieoechaddaejaokhf : Refined GitHub : version 22_5_22
kljjoeapehcmaphfcjkmbhkinoaopdnd : HyperWrite : version 2_0_29
kmendfapggjehodndflmmgagdbamhnfd : CryptoTokenExtension : version 0_9_74
liecbddmkiiihnedobmlmillhodjkdmb : Loom – Free Screen Recorder & Screen Capture : version 5_3_2
mhjfbmdgcfjbbpaeojofohoefgiehjai : Chrome PDF Viewer : version 1
mjdepdfccjgcndkmemponafgioodelna : DF Tube (Distraction Free for YouTube™) : version 1_13_504
neajdppkdcdipfabeoofebfddakdcjhd : Google Network Speech : version 1_0
nffaoalbilbmmfgbnbgppjihopabppdk : Video Speed Controller : version 0_7_1
nkeimhogjdpnpccoofpliimaahmaaome : Google Hangouts : version 1_3_18
nmmhkkegccagdldgiimedpiccmgmieda : Chrome Web Store Payments : version 1_0_0_6
oiaejidbmkiecgbjeifoejpgmdaleoha : Stylebot : version 3_1
pachckjkecffpdphbpmfolblodfkgbhl : vidIQ Vision for YouTube : version 3_73_2
pbgbbbfhjccnnkplhfcmhdcpmcfmpfoi : toast.log : version 2_3
pjkljhegncpnkpknbcohdijeoejaedia : Gmail : version 8_3
poahndpaaanbpbeafbkploiobpiiieko : Display #Anchors : version 1_4

Setup Terminal

See previous year for my Hyper terminal recommendations.

Set up apps/environments

You should have already installed a bunch of stuff with Homebrew as per above. Below I will list other stuff that you may wish to use:

Notes on other stuff we already brew installed

- `brew install java` - you could download [Java Development Kit](https://www.oracle.com/java/technologies/javase/javase-jdk8-downloads.html) from Oracle but fuck them for putting it behind signup wall
- `brew install go` you may need to `export PATH=$PATH:/usr/local/go/bin`

Setup Apps


Other good "new laptop setup" lists:

shinyzhu commented 11 months ago

I've just upgraded my old MacBook Air to a MacBook Pro with M2 chip. Here is how I setup it: https://shinyzhu.com/posts/2023/shinys-new-macbook-setup/

bradgarropy commented 10 months ago

Love reading these types of posts, I always find something new!

Here's how I do my new MacBook setup. https://bradgarropy.com/blog/new-macbook-setup