Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up

💻 macOS setup script for front-end development

License

NotificationsYou must be signed in to change notification settings

minamarkham/formation

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Let's get in formation

Formation is a shell script to set up a macOS laptop for design and development.

It can be run multiple times on the same machine safely. It installs, upgrades, or skips packages based on what is already installed on the machine.

Install

Download the script:

git clone git@github.com/minamarkham/formation.git&&cd formation

Review the script (please don't run scripts you don't understand):

less slay

Slay:

cd formation./slay2>&1| tee~/slay.log

Just follow the prompts and you’ll be fine. 👌

⚠️ Warning: I advise against runningthis script unless you understand what it’s doing to your computer.

I created this based on my own preferences; your mileage may vary.

Once the script is done, quit and relaunch Terminal.

It is highly recommended to run the script regularly to keep your computer up to date.

Your last Formation run will be saved to~/slay.log. To review it, runless ~/slay.log.

That's it! ✨

What it sets up

The setup process will install:

Basic tools:
Package Managers:
  • NVM for managing and installing multiple versions ofNode.js andnpm
  • Rbenv for managing versions of Ruby
  • Yarn for managing JavaScript packages
CLI Tools & Utilities:
  • asciinema for recording terminal sessions
  • Gulp the streaming build system
  • Hotel, a simple process manager for developers
  • Hub for interacting with the GitHub API
  • hugo, an open-source static site generator
  • ImageMagick to create, edit, compose, or convert bitmap images
  • mas Mac App Store command line interface
  • Tig text-mode interface for git
  • Vagrant for development environments

Apps

Productivity
  • Airmail for a better mail client.
  • Alfred for increased productivity and efficiency with macOS.
  • Fantastical for a better calendar.
  • Things for getting things done.
Development
Design
Communication
  • Bear for writing and previewing markdown.
  • Skype for free calls to friends and family.
  • Slack where work happens.
  • Ulysses for long-form writing.
Utilities
Miscellaneous
Browsers
  • Blisk for cross-device web development.
  • Brave for web browsing without ads.
  • Chrome for fast and free web browsing.
  • Firefox for web browsing and testing.
  • TorBrowser for super secret web browsing.

Seeswag for the full list of apps that will be installed. Adjust it to your personal taste.

It should take less than 20 minutes to install (depends on your machine).

🌶 Just add~/.hot-sauce

I got hot sauce in my bag

Your~/.hot-sauce is added at the end of the Formation script. Put your customizations there.For example:

#!/usr/bin/env bashSETUP_ROOT=$HOME/.setupNERDFONTS_RELEASE=$(curl -L -s -H'Accept: application/json' https://github.com/ryanoasis/nerd-fonts/releases/latest)NERDFONTS_VERSION=$(get_github_version$NERDFONTS_RELEASE)DIRECTORIES=($HOME/Desktop/code$HOME/Desktop/design$HOME/Desktop/*dump$HOME/Desktop/GIFs$HOME/Desktop/projects$HOME/Desktop/screenshots)NERDFONTS=(    SpaceMono    Hack    AnonymousPro    Inconsolata)step"Making directories…"fordirin${DIRECTORIES[@]};do    mkd$dirdonestep"Installing fonts…"forfontin${NERDFONTS[@]};doif [!-d~/Library/Fonts/$font ];thenprintf"${indent}  [↓]$font"        wget -P~/Library/Fonts https://github.com/ryanoasis/nerd-fonts/releases/download/$NERDFONTS_VERSION/$font.zip --quiet;unzip -q~/Library/Fonts/$font -d~/Library/Fonts/$font        print_in_green"${bold}✓ done!${normal}\n"else        print_muted"${indent}$font already installed. Skipped."fidone

Write your customizations such that they can be run safely more than once.See theslay script for examples.

Formation functions such asstep andlink can be used in your~/.hot-sauce.

Known Issues

Cask does not recognize applications installed outside of Homebrew Cask – in the case that the script fails, you can either remove the application from the install list or uninstall the application causing the failure and try again.

Acknowledgements

Inspiration and code was taken from many sources, including:

📜 License

Formation is customized for my own needs. It is free software, and may be redistributed under the terms specified in theLICENSE file.

Releases

No releases published

Packages

No packages published

Languages


[8]ページ先頭

©2009-2025 Movatter.jp