Giter Site home page Giter Site logo

michalgallovic / dotfiles Goto Github PK

View Code? Open in Web Editor NEW

This project forked from driesvints/dotfiles

0.0 0.0 0.0 509 KB

Get started with your own dotfiles

Home Page: https://driesvints.com/blog/getting-started-with-dotfiles

License: MIT License

Shell 94.98% Ruby 5.02%

dotfiles's Introduction

Michals's Dotfiles (compatible with Mac OS Monterey 12.X)

This repository serves as my way to help me setup and maintain my Mac.

This repository is heavily based on Dries Vints's dotfiles sprinkled with my own set of binaries and apps defined in Brewfile and MacOS preferences defined in .macos.

A Fresh macOS Setup

These instructions are for when you've already set up your dotfiles. If you want to get started with your own dotfiles you can find instructions below.

Before you re-install

First, go through the checklist below to make sure you didn't forget anything before you wipe your hard drive.

  • Did you commit and push any changes/branches to your git repositories?
  • Did you remember to save all important documents from non-iCloud directories?
  • Did you save all of your work from apps which aren't synced through iCloud?
  • Did you remember to export important data from your local database?
  • Did you update mackup to the latest version and ran mackup backup?
  • Did you backup Firefox Profile ?
  • Did you export Phpstorm settings ?
  • Did you export ~/.z ?

Installing macOS cleanly

After going to our checklist above and making sure you backed everything up, we're going to cleanly install macOS with the latest release. To install fresh macOs:

# download desired version of macOs using
git clone https://gitlab.com/julianfairfax/macos-downloader.git

# create bootable usb
sudo ./Install\ macOS\ Monterey.app/Contents/Resources/createinstallmedia --volume /Volumes/<usb> --applicationpath <path_to_installation> --nointeraction

# this will erase, format and create bootable usb with desired version of osx
# you should see output like
# Erasing Disk: 0%... 10%... 20%...100%...
# Copying installer files to disk...
# Copy complete.
# Making disk bootable...
# Copying boot files...
# Copy complete.
# Done.

Setting up your Mac

If you did all of the above you may now follow these install instructions to setup a new Mac.

  1. Update macOS to the latest version with the App Store

  2. Generate a new public and private SSH key by running:

    curl https://raw.githubusercontent.com/MichalGallovic/dotfiles/macos/12-monterey/.ssh | sh -s "<your-email-address>"
  3. Clone this repo to ~/.dotfiles with:

    git clone --recursive [email protected]:MichalGallovic/dotfiles.git ~/.dotfiles
  4. Run the installation with:

    ~/.dotfiles/install.sh
  5. After mackup is synced with your cloud storage, restore preferences by running mackup restore

  6. Restart your computer to finalize the process

  7. Don't forget to add your new public SSH key to authorized_keys wherever you use it to ssh into.

Your Mac is now ready to use!

dotfiles's People

Contributors

blueclock avatar driesvints avatar michaeldeboey avatar michalgallovic avatar ovvessem avatar rathesdot avatar ryanhanwu avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.