https://github.com/kdabir/mac-setup
Setup MacOS for developers
https://github.com/kdabir/mac-setup
setup-macos shell-scripts
Last synced: about 1 year ago
JSON representation
Setup MacOS for developers
- Host: GitHub
- URL: https://github.com/kdabir/mac-setup
- Owner: kdabir
- Created: 2019-08-22T03:14:49.000Z (almost 7 years ago)
- Default Branch: main
- Last Pushed: 2023-02-26T11:49:57.000Z (over 3 years ago)
- Last Synced: 2025-03-17T09:11:22.782Z (over 1 year ago)
- Topics: setup-macos, shell-scripts
- Language: Shell
- Size: 27.3 KB
- Stars: 9
- Watchers: 3
- Forks: 7
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Mac Setup
MacOS machine ready for development.
**Warning:** Highly opinionated stuff ahead :)
## Installation
### Without downloading
`curl -sL https://raw.githubusercontent.com/kdabir/mac-setup/main/setup.sh | bash -s -- init`
### Donwloading locally
`git clone` or download the [zip](https://github.com/kdabir/mac-setup/archive/refs/heads/main.zip) file of the project
## Installation Notes
This project can be downloaded/checked-out anywhere (directory), deleted and cloned again. It does not store any state
in the working directory (where it is checked out). The script is idempotent and hence can be run as many times whether
it is fresh machine or not.
## Running
If it's a fresh machine, you won't have developer tools and git installed, so start with this command first `./setup.sh init`
- help: `./setup.sh --help`
- dev-tools: `./setup.sh devtools`
- upgrade all tools: `./setup.sh updates`
- self-upgrade: `git pull --rebase`
## Troubleshooting
### Running in non-interactive mode because `stdin` is not a TTY.
```
Warning: Running in non-interactive mode because `stdin` is not a TTY.
==> Checking for `sudo` access (which may request your password)...
```

If you get this error then don't run off using curl piped to bash, instead clone the repo
```bash
$ git clone https://github.com/kdabir/mac-setup.git
$ cd mac-setup
$ ./setup.sh init
```
## Customizations
Fork it off and have fun :)