Skip to content

RayYH/setup

Repository files navigation

Setup

English | 简体中文


This repo sets up the development environment I need for daily programming.

Installation

Install delta tool for git-diff, download one nerd font from Nerd fonts site if you use starship as your prompt.

# install setup only
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/rayyh/setup/master/install.sh)"

# bootstrap new computer (including setup)
S_SET_COMPUTER_NAME=1 S_CASKS=1 /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/rayyh/setup/master/bootstrap.sh)"

# update formulas, casks...
S_ONLY_UPDATE=1 S_CASKS=1 ./bootstrap.sh

Troubleshooting

warning: setlocale: LC_ALL: cannot change locale (en_US.UTF-8)
sudo dpkg-reconfigure locales

Upgrade

$ upgrade_set_up

Sync global configuration files

# sync files
$ sync_set_up_configs

# clean all backup files
$ clean_set_up_backup_files

Thanks to

License

This project is open-sourced software licensed under the MIT license.