DEV Community

Cover image for Setting up my new Machine
Laurie
Laurie

Posted on • Originally published at laurieontech.com

Setting up my new Machine

I started my new job this week, and that meant setting up a new machine. I have a set of tools that I'm comfortable with, so choosing what to download wasn't complicated.

What I did find interesting is the tools I "just had to have" and those I haven't yet configured yet. A lot of my choices are available on my uses page, but it also needs an update.

So with that, I'm going to talk through my must-haves this past week!

Terminal

Over the years, my terminal has become my programming control center. Who would have thought! When I first started doing development work, I was incredibly intimidated by the command line. I suppose building CLIs will rid you of that fear 🤷.

As it turns out, my terminal setup requires a lot of things. Oops!

  • iterm2: I find this a nicer option than the built-in apple terminal.
  • oh-my-zsh: All my machines use this and I've gotten comfortable with it rather than bash.
  • starship: This is a newer tool for me but I love the information-rich command prompts and the overall look.

Once the look and feel of my terminal was ready, I needed additional software.

  • homebrew: The essential package manager for macOS.
  • nvm: My JavaScript-loving heart can't live without it.

I also set up Xcode command line tools so I could get git working. But that was most of my first week essentials in terminal.

Apps

Now it was time to get my most-used applications. My machine came preloaded with Slack, so I didn't need to worry about that. But there were a handful of other things I wanted right away.

  • VS Code: My IDE of choice. I'll dive into this more in a moment.
  • Magnet: I actually didn't download this until day three and was wondering why my monitor was bugging me so much. Windows managers are so key!
  • Elgato Control Center: This is how I control my lighting setup and make my video chats higher quality.
  • Clockwise: I technically downloaded the chrome extension and integrated it with Slack, but close enough. Calendar tools are a first-week necessity.
  • Google Doc dark mode: Another chrome extension, but this one helps my eyes a ton when I'm trying to do a lot of deep focus reading.

That's a surprisingly low number of apps. I'm sure it'll grow in the coming weeks.

VS Code

Now we get to the really good stuff. I'm a developer after all! As it turns out, I didn't do much coding in this first week, but I did look at a lot of existing projects. So what were my go-to extensions?

  • ESLint
  • Prettier
  • Bracket Pair Colorizer
  • Indent Rainbow
  • JavaScript and Typescript
  • Peacock
  • Monokai theme

And that's the current list! It'll get longer, but you can already tell that it's focused on readability. I don't necessarily know what functional helpers I'll need yet.

Yay first week!

So that's my current computer setup. It's connected to all my existing hardware and you can read more about that on my uses page. Thus far, I've done a lot of reading, had plenty of onboarding chats about logistics, and started to get a handle on what my new role is. Excited for what's to come.

Top comments (38)

Collapse
 
sylwiavargas profile image
Sylwia Vargas

Thank you for this blog post.
I was setting up mine two weeks ago and wished that I had written this down the last time. I am in the middle of writing a post on this as well! I think I still may publish it and link it to yours 💕

Collapse
 
laurieontech profile image
Laurie

Publish it and don't worry about linking to mine! It's yours after all :)

Collapse
 
sylwiavargas profile image
Sylwia Vargas

lol what I meant to say is that I want to link it because yours is great too! ✨ I always like to see "read more" section in other blogs.

Collapse
 
ambriel profile image
Ambriel Goshi

This is really great timing for me as I'm about to have my new Mac arrive. Thank you!

Collapse
 
andparsons profile image
Andy Parsons

Just had the opportunity to get a new setup last week myself!
Rig is the M1 MacBook Air
I daisy chain a couple of monitors at work, but use just the MacBook at home.
Keyboard & Mouse are the Logitech MX series, vastly prefer the mouse over the Magic Mouse, I’m a sucker for the per app key bindings.
I’ve got the same iTerm setup! I copied over my zsh config as-is, could really do with reviewing it. Open to other people sharing a gist or two!
I run PhpStorm for my IDE, even though I’m mostly writing in TypeScript these days.
I dockerize my local instances, and use traefik to host multiple container setups concurrently.
Happy to talk more if anyone’s interested.

Collapse
 
lepinekong profile image
lepinekong

Magnet ... "Download on the Mac App Store." I'm crying not for Windows :)

Collapse
 
laurieontech profile image
Laurie

Ya, I suspect windows has some window managers though?

Collapse
 
terabytetiger profile image
Tyler V. (he/him)

docs.microsoft.com/en-us/windows/p...

It looks like Magnet might have a bit more flexibility with shortcuts, but otherwise PowerToys should cover your needs :)

Thread Thread
 
lepinekong profile image
lepinekong • Edited

Ah yeah thanks forgot about this one : in the old days I don't remember that there was a window manager :)

Thread Thread
 
cblte profile image
cblte

Powertools Are nice but sometimes get in the way of other tools like free shot and Nvidia recording.
And they are slow. Especially the Alt+Space that we all love from MacOS.

The other tools are super nice. I heavily rely on the renamed and image resizer. The window manager is ok but not needed. I do have around. 20 windows all the time. No help here from window managers.

Collapse
 
yusufadel profile image
YusufAdel

Thank you for sharing such wonderful tools.💕
and consider adding a new tools provided by websites out there like this one i talked about >> search engine for code over million open source projects.
dev.to/yusufadel/search-engine-tha...

Collapse
 
valtism profile image
Dan Wood

Hey Laurie!

I see you're using nvm. It's a great tool, and I used to use it too, but when I went about trying to make my terminal startup time better I found that it was the cause of a lot of start up lag. I found a tool called fnm which does the same thing but is much quicker on startup. You might like to consider switching.

I also switched from oh-my-zsh to a custom setup using antibody which was another big speed up, but that requires a little more of a time investment (not too bad though!).

Collapse
 
iainfreestone profile image
Iain Freestone

I love getting a new machine but dread the setting up part it always takes a while to feel "just right" again.

Collapse
 
cubiclesocial profile image
cubiclesocial

I use portable apps for just about everything except for software that doesn't have a "portable" flavor available. Usually requires hunting for a ZIP/tar.gz file instead of a formal installer.

Portable apps let you "install" an isolated copy of software to a secondary drive. They were originally designed for use on USB thumbdrives, but I put them onto a SSD. The main OS goes on one SSD and my data and portable applications go onto a second SSD. All settings and application data travel with the second drive. Makes reinstalling the OS and switching machines much, much easier, safer, and faster. Doing things like setting the default web browser to point at a portable version can be a tad tricky and require manual intervention (e.g. editing the registry on Windows) because those sort of OS level features tend to make incorrect assumptions about software applications.

Before portable apps, reinstalling the OS took about 2 weeks to achieve normalcy. With portable apps, my last OS reinstall + a few select apps took about 1 day of lost productivity. Nothing goes on the OS drive except temporary data I won't mind losing, the OS (of course), and apps that just have to be installed (e.g. Visual Studio). Everything else goes on the second drive.

Portable apps are self-contained. That means no registry settings, no funky directory layouts, no shell extensions that slow the machine down, no monkeying with system PATHs, etc. My computer runs almost as fast as if it had no software installed on it because, from the OS' perspective, there isn't much of anything installed on it. You didn't hear this from me but [glances sideways] portable apps are also useful for bypassing corporate IT restrictions regarding installed software to use your favorite tools.

Once you use portable apps and understand how incredibly powerful the concept is, you'll be annoyed at any software company (mostly Microsoft) that only releases packaged installer versions of their software.

Collapse
 
cblte profile image
cblte

I do either choco install or brew install.
Have scripts for all of them. After installation of OS run. That’s it.
Portable apps are nice but not really needed. Who wants to keep his browser cache anyway. Hahah 😜

The thing with corporate is nice, but if you bypass security you might get fired. And if you are able to run software outside programs dir, you have not one of the smartest admins or security guys.
Group policies for the win!

Collapse
 
madza profile image
Madza

Is 2019 13" Macbook Pro good enough as the main station? Or do you connect it to external monitors and chose it due to portability?

Collapse
 
laurieontech profile image
Laurie

I have a single external monitor. I chose it for portability.

Collapse
 
koriroys profile image
Kori Roys • Edited

Seeing as you use Indent Rainbow...

Indent Rainbow using rainbow colors

Collapse
 
ry44n__ profile image
Info Comment hidden by post author - thread only accessible via permalink
john

You made a mistake !
VS Code: My IDE of choice. I'll dive into this more in a moment.
Vs code is a text editor , not an IDE ! Many people make this simple mistake since its really powerful :)

Collapse
 
laurieontech profile image
Laurie

No, I haven’t. It can be both depending on how it’s used and the extensions you’ve installed.

Collapse
 
ry44n__ profile image
Comment marked as low quality/non-constructive by the community. View Code of Conduct
john

Yes you have. It's really not that important, Visual Studio Code is a code editor redefined and optimized for building and debugging modern web and cloud applications. Visual Studio Code is free and available on your favorite platform - Linux, macOS, and Windows. I am pretty sure the would say its an IDE, But it isn't an IDE

Thread Thread
 
laurieontech profile image
Laurie

This question is closed on stack overflow as an opinion fwiw.

Thread Thread
 
ry44n__ profile image
Comment marked as low quality/non-constructive by the community. View Code of Conduct
john

Its not a question. You are the one who doesn't know the diff between IDE's like pycharm and code editors like Vscode

Collapse
 
kaspermroz profile image
Kasper Mróz • Edited

Thank you for this blog post Laurie, now I have lots of new tools to play with!

Collapse
 
eduardonwa profile image
Eduardo Cookie Lifter

At least you weren't shifting to a Windows machine. Congratulations.

Collapse
 
benmatselby profile image
Ben Selby

Great post. I hadn't seen Peacock or Bracket Pair Colorizer before, these are fantastic. Thanks for sharing.

Collapse
 
juliang profile image
Julian Garamendy

+1 for Peacock

Collapse
 
andrewbaisden profile image
Andrew Baisden

Cool setup.

Some comments may only be visible to logged-in visitors. Sign in to view all comments. Some comments have been hidden by the post's author - find out more