A script to set up a macOS laptop for 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.
We support:
- macOS Monterey (12)
- macOS Big Sur (11)
- macOS Catalina (10.15)
Older versions may work but aren't tested.
(These commands should be run in Terminal)
Download and review the script:
curl --remote-name https://raw.githubusercontent.com/codeclan/laptop/master/mac
Then run it and start the installation:
sh mac 2>&1 | tee ~/laptop.log
You will need to enter your computer password a few times throughout the script to allow installations.
At the end of the installation script, another script will run to attempt to check if any applications failed to install. (occasionally may claim some application are missing that aren't)
You can repeat this by running the following lines in terminal:
curl --remote-name https://raw.githubusercontent.com/codeclan/laptop/master/laptop_install_test
sh laptop_install_test
- Apple's Command Line Developer Tools to enable developer functionality on our macOS system.
- Homebrew for managing operating system libraries.
- Git for version control
- Zsh as your command line shell
- Oh My Zsh to add nice features to zsh - autocompletions, shortcuts etc.
- tree for visualising directory structure from the Terminal
- Ruby
- Rbenv for managing versions of Ruby
- Bundler for managing Ruby libraries
- Ruby Build for installing Rubies
- Java
- Node.js for JavaScript back-end development, and
- NPM for installing JavaScript packages
- PostgreSQL for storing relational data
- MongoDB for storing non-relational data
- Google Chrome for web browsing and development
- VS Code for text editing
- Slack for team chat
- IntelliJ IDEA CE for Java development
- MongoDB Compass for accessing MongoDB databases from a GUI
- Open Dyslexic for accessibility
Finally, we remap the §
key on your Mac's keyboard to the #
symbol, which can make commenting Ruby marginally less painful...
It should take less than 15 minutes to install (though this depends on your machine).
CodeClan offers a range of software development courses to help kick start your career in tech and deepen your digital expertise.
Transform your career at CodeClan by learning to code in our 16 week software development course. You don’t need to be a mathematician or have any previous technical experience. All you need is a willingness to learn, a passion for technology and to think like a problem solver.
Through our part-time learning options, you can add coding skills to your CV or build on your existing programming knowledge.
See our website for more information.