Skip to content

A shell script to run on a fresh Mac configure it as a developer workstation

License

Notifications You must be signed in to change notification settings

gquadrati/developer-laptop

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

87 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

PagoPA Developer Laptop

PagoPA Developer Laptop is a script to set up a macOS computer for development, and to keep it up to date. It's forked from the original.

It's very opinionated to our company needs in terms of stack and culture.

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.

Requirements

Supported operating systems:

  • macOS Catalina (10.15)
  • macOS Mojave (10.14)
  • macOS High Sierra (10.13)
  • macOS Sierra (10.12)
  • OS X El Capitan (10.11)
  • OS X Yosemite (10.10)
  • OS X Mavericks (10.9)

Older versions may work but aren't regularly tested. Bug reports for older versions are welcome.

What it does

  • Configure OSX command line tools, if not present
  • Install and configure Homebrew, if not present
  • Install several applications via Homebrew, including Visual Studio Code (Please see Brefile for details)
  • Configure Visual Studio Code by installing plugins and setting up code command if not present
  • Install oh-my-sh and spaceship theme.

How to use

Open the terminal and execute the following command:

bash <(curl -s https://raw.githubusercontent.com/pagopa/developer-laptop/master/laptop)

Once the script is done, quit and relaunch Terminal.

Things We'd like to include in the future

  • configure OSX trackpad and gestures settings
  • setup ssh keys
  • ensure idempotency (that is: you can run the same script on a non-blank system to restpre setup)
  • let users decide what to install and what don't

Credits

This laptop script is inspired by thoughbot's laptop script.

Public domain

thoughtbot's original work remains covered under an MIT License.

Our work on this project is in the worldwide public domain, as are contributions to our project. As stated in CONTRIBUTING:

This project is in the public domain within the United States, and copyright and related rights in the work worldwide are waived through the CC0 1.0 Universal public domain dedication.

All contributions to this project will be released under the CC0 dedication. By submitting a pull request, you are agreeing to comply with this waiver of copyright interest.

About

A shell script to run on a fresh Mac configure it as a developer workstation

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Shell 95.7%
  • Ruby 4.3%