You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+47-29Lines changed: 47 additions & 29 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,53 +1,88 @@
1
1
Automate your macOS setup
2
2
===
3
3
4
-
**Welcome to the macOS Scripted Setup!<br>This project helps Mac users quickly and easily set up a new computer or useraccount by automatically configuring a range of system settings and installing commonly used applications.**
4
+
**Welcome to the macOS Scripted Setup.<br>This project helps Mac users quickly and easily set up a new computer or useraccount by automatically configuring a range of system settings and installing commonly used applications.**
5
+
6
+
> [!TIP]
7
+
> The scripted setup was tested on Intel-based Macs & Apple Silicon Macs
8
+
> On macOS 12 Monterey up to macOS 14 Sonoma
9
+
5
10
6
11
## What is this?
7
12
13
+
The macOS Scripted Setup is **perfect for users who want to save time and avoid the hassle of manually changing settings and installing apps**. The whole project, but particularly the configuration file, is **portable** - so you can keep them on a USB-stick for the next Mac setup. Give it a try and streamline your new Mac setup process!
14
+
8
15

9
16
10
17
The script is easy to use and can be run directly from the Terminal application, as a regular user or admin user. It automatically performs a series of commands to change default macOS settings and download applications. It's designed to be widely backward and forward compatible with various macOS versions.
11
18
12
-
**All settings can be configured!** Some features include enabling the firewall, setting better security features, customising the Finder, Dock, and Mission Control for better productivity; and many more. Additionally, the script installs applications such as browsers, media players, productivity apps, and web development tools.
19
+
**All settings can be configured.** Some features include enabling the firewall, setting better security features, customising the Finder, Dock, and Mission Control for better productivity; and many more. Additionally, the script installs applications such as browsers, media players, productivity apps, and web development tools.
13
20
14
-
The macOS Scripted Setup is **perfect for users who want to save time and avoid the hassle of manually changing settings and installing apps**. The whole project, but particularly the configuration file, is **portable** - so you can keep them on a USB-stick for the next Mac setup. Give it a try and streamline your new Mac setup process!
21
+
### What is being done exactly?
15
22
16
-
## How to use
23
+
<details>
24
+
<summary>See what features, settings, and applications can be changed / installed</summary>
25
+
26
+
### The script can change the following settings:
27
+
28
+
* FileVault, macOS Firewall, Mission Control, Control Centre, Finder, Dock, git, SSH Key, adds Userhome folders, Menu bar clock, Fast User Switching, and [more](https://github.com/Swiss-Mac-User/macOS-scripted-setup/tree/installer/Usersettings).
17
29
18
-
<sub>P.s.: the scripts were tested successfully on Apple Silicon Mac and macOS 13 Ventura.</sub>
30
+
### …and is capable of installing these Apps:
31
+
32
+
Some Apps are downloaded from the official websites, other are added through Homebrew or its Mac App Store CLI extension.
Fast and easy download with this command in the `Terminal.app`:
42
+
Automatic download with this command in the `Terminal.app` from Applications » Utilities:
23
43
24
44
```bash
25
45
curl -SL "https://github.com/Swiss-Mac-User/macOS-scripted-setup/archive/refs/heads/installer.zip"| tar xz -C "$HOME/Downloads"&& open "$HOME/Downloads/macOS-scripted-setup-installer"
26
46
```
27
47
28
-
Alternatively you can manually download & extract the latest «Source code (zip)» [from Releases](/../../releases) to your `~/Downloads/` folder.
48
+
→ Alternatively you can manually download & extract the latest «Source code (zip)» [from Releases](/../../releases) to your `~/Downloads/` folder.
29
49
30
50
### ⚙️ Configure your preferences
31
51
32
52
1. Duplicate the file `config.default.sh` as `config.sh`
33
53
34
-
2. Open `config.sh` with TextEdit
54
+
2. Open `config.sh` in a Text editor (e.g. `TextEdit.app`)
55
+
56
+
3. …and change all settings to your personal preferences, using `true`/`false`.
57
+
58
+
> [!WARNING]
59
+
> If no `config.sh`-file is present, the setup will use the default configs from `config.default.sh`!</sup>
60
+
61
+
#### Advanced settings
62
+
<details>
63
+
<summary>Configuring custom bash commands to run</summary>
64
+
65
+
If you want to run additional bash commands as part of the setup, you can duplicate the template-file `mycommands.template.sh` as `mycommands.sh`, and populate it with any commands. These custom commands will be executed LAST in the whole setup (see the `run.sh` file).
66
+
67
+
</details>
35
68
36
-
3. …and change all settings to your personal preferences, using `true`/`false`.<br>(Note: if no `config.sh` is present, it will fall back to the default configs)
37
69
38
70
### 🚀 Start the scripted Setup
39
71
40
-
Maybe now is the time to go and get a coffee ☕️…
72
+
Maybe now is the time to [grab a coffee ☕️](https://bmc.link/swissmacuser/)…
41
73
42
74
1. Open the «Terminal.app» from Applications » Utilities
43
75
44
-
2. Paste the following command to the Terminal.app, and start the setup by pressing `Return`:
76
+
2. Paste the following command to the Terminal.app:
Watch the magic happen… and occasionally interact when instructions show up (e.g. sign-in on the Mac App Store-App).
82
+
3. Now start the setup by pressing `Return` & watch the magic happen…
83
+
84
+
> [!TIP]
85
+
> **Occasionally you have to interact** when instructions show up, such as to sign-in on the Mac App Store.
51
86
52
87
#### ✨ That's it - happy installation! :)
53
88
@@ -61,23 +96,6 @@ Report an [Issue](/../../issues) or start a [new Discussion](/../../discussions)
61
96
Feel free to [fork this project](/../../fork) and add Pull Requests for any suggested changes or additions!
62
97
63
98
64
-
65
-
## Advanced settings
66
-
67
-
If you want to run additional bash commands as part of the setup, you can duplicate the template-file `mycommands.template.sh` as `mycommands.sh`, and populate it with any commands. These custom commands will be executed LAST in the whole setup (see the `run.sh` file).
68
-
69
-
### What is being done?
70
-
71
-
The script changes the following settings:
72
-
73
-
* FileVault, macOS Firewall, Mission Control, Control Centre, Finder, Dock, git, SSH Key, adds Userhome folders, Menu bar clock, Fast User Switching, and more.
0 commit comments