Skip to content

Commit

Permalink
Add update-all-the-things post
Browse files Browse the repository at this point in the history
  • Loading branch information
hisaac committed Feb 12, 2018
1 parent 3276b85 commit b180460
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
title: "My Guide to the Twin Cities"
layout: post
date: 2018-02-02
tags: personal, minnesota, minneapolis, twin-cities, saint-paul
source: ./living-documents/my-guide-to-the-twin-cities.html
---

Expand Down
19 changes: 19 additions & 0 deletions source/_posts/2018/2018-02-12-update-all-the-things.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
---
title: "Update All the Things"
date: 2018-02-12
layout: post
tags: tech, bash, mac
---

The other day, I was wishing for an easy way to update all of the [CLI](https://en.wikipedia.org/wiki/Command-line_interface) package managers on my computer at once, rather than having to type each command separately. Then I realized, this would be a great job for a bash/zsh alias!

Here’s what I’ve come up with. I call it `update-all-the-things`:

```bash
alias update-all-the-things='
echo "🍺 Updating Homebrew" ; brew upgrade ;
echo "🚀 Updating Global Node Modules" ; npm update -g ;
echo "💎 Updating RubyGems" ; gem update'
```

I think it would be fun to make this into an actual package itself someday. A super simple little [Homebrew](https://brew.sh) or [NPM](https://www.npmjs.com) package would be fun to make. Have any ideas on how to implement it as its own package? Any package managers I'm missing? Let me know!

0 comments on commit b180460

Please sign in to comment.