Skip to content

Commit 4d49ca2

Browse files
committed
started to explain every sub-script
1 parent dfc4ce0 commit 4d49ca2

File tree

1 file changed

+55
-0
lines changed

1 file changed

+55
-0
lines changed

README.md

Lines changed: 55 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,4 +6,59 @@ Sometimes, I have to reinstall everything I need on brand new Macs or Hackintosh
66

77
**Don't run everything blindlessly.** I reunited these scripts for my own use, a lot of commands or packages may not suit you. Please fork the project or review the files to comment things you don't want.
88

9+
## Full Installation
10+
11+
If you want to install _everything_, just do:
12+
13+
```sh
14+
git clone git@github.com:kinoute/macos-setup.git
15+
cd macos-setup
16+
bash install.sh
17+
```
18+
19+
If you can't run the script, you might have to change its attributes. Just do:
20+
21+
```bash
22+
chmod +x install.sh
23+
```
24+
25+
When started, you will be asked for your password just once in order to install/edit several things on macOS.
26+
27+
This script basically calls a few sub-scripts that do their own business listed below.
28+
29+
## Manual Installation
30+
31+
If there are some packages or applications you don't want to install, you have two choices:
32+
33+
* Either you edit the installation files and remove the things you don't want ;
34+
* Either you run manually the only installation sub-scripts you're interested in.
35+
36+
Here are all the sub-scripts that are called when running the full installation:
37+
38+
### brew.sh
39+
40+
This script first checks if you have [homebrew](https://brew.sh) installed on your machine. If not, it downloads and installs it. Then it installs a lot of binaries through homebrew.
41+
42+
To only run this script, do:
43+
44+
```sh
45+
cd macos-setup/scripts
46+
bash brew.sh
47+
# you might need to do chmod +x brew.sh before to run this script
48+
```
49+
50+
The comments inside the file speak for themselves but to sum up, this script installs:
51+
52+
* A few languages (python, php, zsh) ;
53+
* Updated tools (vim, grep, openssh, screen) ;
54+
* GNU tools (sed, find, locate, xargs...) ;
55+
* Useful binaries (git, imagemagick, pv, rename, tree, jq, ffmpeg, ripgrep, wget, htop, watch...) ;
56+
* Some macOS dev-related apps (iTerm2, Sublime Text, VirtualBox, Brave, Miniconda, VSCode..) ;
57+
* Some random macOS apps (flux, Spotify, VLC, Lulu, Onyx, Transmission, Slack..) ;
58+
* Some Safari extensions (Adguard, Nightlight) ;
59+
* Docker and lazydocker to manage easily our containers/images ;
60+
* The Roboto-Mono font and its powerline version for iTerm 2 / Zsh ;
61+
* macOS Quicklook plugins (markdown, video, csv, zip, Jupyter notebooks, json..) ;
62+
* Tools to fix codes automatically (php-cs-fixer, rubocop, autopep8..) ;
63+
* _Optional:_ Hackintoshes stuff if needed (Karabiner Elements to modify keys).
964

0 commit comments

Comments
 (0)