https://github.com/meduzen/dotfiles
Fast macOS installation for Macbook computers running on Apple Silicon. Rather personal.
https://github.com/meduzen/dotfiles
dotfiles dotfiles-macos macos macos-setup
Last synced: 2 months ago
JSON representation
Fast macOS installation for Macbook computers running on Apple Silicon. Rather personal.
- Host: GitHub
- URL: https://github.com/meduzen/dotfiles
- Owner: meduzen
- Created: 2018-09-23T17:56:36.000Z (almost 8 years ago)
- Default Branch: main
- Last Pushed: 2024-04-18T22:14:07.000Z (about 2 years ago)
- Last Synced: 2025-01-24T17:15:45.813Z (over 1 year ago)
- Topics: dotfiles, dotfiles-macos, macos, macos-setup
- Language: JavaScript
- Homepage:
- Size: 87.9 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Dotfiles
These instructions partly automates the setup of a device using macOS with an Apple Silicon ship.
## Setup your Mac
Deeply inspired by [Dries Vints dotfiles repository](https://github.com/driesvints/dotfiles).
1. Update macOS to the latest version (_System Preferences_ / _Software Update_).
2. Install Xcode from the App Store and open it.
3. Install macOS Command Line Tools by running `xcode-select --install` in Terminal.
4. Install Rosetta by running `sudo softwareupdate --install-rosetta`.
5. Copy your public and private SSH keys to `~/.ssh` and make sure their permissions are set to `600`.
6. Add your SSH private keys to the authentication agent by running `ssh-add ~/.ssh/private_key_name`.
7. Clone this repository to `~/.dotfiles`.
8. Append `/usr/local/bin/zsh` to the end of your `/etc/shells` file. ⚠️ **seems not needed, to be confirmed**
9. Enter the `.dotfiles` directory and run `chmod +x install.sh` (check if still necessary after #583a9a5).
10. Run `./install.sh` to start the installation.
11. Restore preferences by running `mackup restore` (make sure your [storage provider](https://github.com/lra/mackup/blob/master/doc/README.md#storage) is connected).
12. Restart your computer to finalize the process.
## Post setup
1. Go to the App Store to retrieve the apps that are not in your Brewfile.
2. And now, some app by app notes… 👇
### Apple Simulator
In Xcode:
- go to menu _Window_, _Devices and Simulators_, _Simulators_ to add additional iOS versions down to iOS 14.0.1.
- go to menu _Xcode_, _Settings_, _Platforms_ to add additional devices.
### MySQL
- (optional) Security: set a root password by running [`sudo mysql_secure_installation`](https://dev.mysql.com/doc/refman/8.0/en/mysql-secure-installation.html).
- Databases migration: by running `mysql -u root -p < alldb.sql`, you can import all local databases you have exported with `mysqldump -u root -p --all-databases > alldb.sql`.
- Favorites and passwords migration or migration from Sequel Pro to Sequel Ace: follow the [dedicated guide](https://sequel-ace.com/get-started/migrating-from-sequel-pro.html).
- If you need access to remote servers, grant Sequel Ace the access to your `~/.ssh/config`, `~/.ssh/known_hosts` and the needed SSH keys.
### Git
- In `.gitconfig`, set a name and an email address.
### Mooom
- As stated in [Moom FAQ](https://manytricks.com/osticket/kb/faq.php?id=53), `/Library/Preferences/com.manytricks.Moom.plist`: “Macs may have differing numbers of displays, different resolutions, etc. Saved layouts for one won't make sense for another.”
### Sublime Text
- In Sublime Text, go to _Tools_, _Install Package Control_. Then, [_to be completed_].