mac-devops-setup is an open-source initiative providing DevOps and Infrastructure engineers with a single Bash script to automate the installation of essential tools, languages, IDEs, and plugins on a new MacBook. It drastically simplifies the setup process, reduces setup time, and ensures a consistent development environment.
The mac-devops-setup repository consists of a single Bash script that installs and configures a suite of important tools for DevOps work. The script installs the following components:
Package managers: Homebrew
Programming languages: Python, Java, Ruby, Rust
Shell and plugins: Zsh, Oh My Zsh
DevOps Tools: Git, Terraform, Ansible, Docker
IDEs: Visual Studio Code, IntelliJ IDEA
Applications: Google Chrome, Postman, iTerm2, Rectangle, Amphetamine
This script is meant to be a starting point and can be customised based on your specific requirements. Always remember to test scripts in a safe environment before deploying them in a production setting. Contributions and suggestions are most welcome! Clone the Repository: Start by cloning the mac-devops-setup repository to your local machine using the command:
git clone https://github.com/your-username/mac-devops-setup.git
Navigate to the Repository: Move into the cloned repository directory:
cd mac-devops-setup
Review the Code: Take a look at the setup.sh file to understand the installation process and the tools being installed.
Make Modifications (Optional): If desired, you can modify the setup.sh script to tailor it to your specific requirements or add additional functionality.
Run the Script: Execute the script in your terminal:
./setup.sh
The script will start installing the specified tools, languages, IDEs, and applications on your MacBook.
Follow any Instructions: During the installation process, follow any prompts or instructions provided by the script.
Restart if Required: After the script completes, you may need to restart your terminal for all the changes to take effect.
Fork the Repository: If you have improvements or additions to make, start by forking the original mac-devops-setup repository to your GitHub account.
Make Changes: Create a new branch in your forked repository, make your modifications, and thoroughly test them.
Commit and Push: Commit your changes and push the branch to your forked repository on GitHub.
Open a Pull Request: Once you've pushed your changes, open a Pull Request (PR) on the original mac-devops-setup repository. Provide a detailed description of the changes you've made.
Collaborate and Iterate: Discuss the changes with the maintainers and other contributors, address any feedback or suggestions, and iterate on the changes if necessary.
Merge and Release: Once the changes have been reviewed and approved, the maintainers will merge them into the main branch. A new release can then be created to make the updated code available to others.