This is the universal installer script used to install 'set-me-up' (smu) on a Mac or debian based machine.
To start, your default shell must be set to bash
prior to executing the install
snippet for the first time. This is because on newer versions of Mac OS, the default shell is zsh
instead of bash
. To change your default shell, run the following command in your console.
sudo chsh -s $(which bash) $(whoami)
Once the default shell is bash
, close and reopen the terminal window. Then, run the following command in your console.
(install
snippet if you don't fully
understand what it does. Seriously, DON'T!)
bash <(curl -s -L https://raw.githubusercontent.com/dotbrains/set-me-up-installer/main/install.sh)
You can change the smu
home directory by setting an environment variable called SMU_HOME_DIR
. Please keep the variable declared or else the smu
scripts are unable to pickup the sources.
export SMU_HOME_DIR="some-path" \
bash <(curl -s -L https://raw.githubusercontent.com/dotbrains/set-me-up-installer/main/install.sh)
The creator of this repo is not responsible if your machine ends up in a state you are not happy with.
Yes please! This is a GitHub repo. I encourage anyone to contribute. 😃
The code is available under the MIT license.