Skip to content

mattiasalm/dotfiles

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

42 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

dotfiles

My version of dotfiles with a CLI to manage installation process and updates.

Tested on macOS: Big Sur and Monterey.

Take and use at your own risk.

Features

Very easy installation that brings a brand new installation of macOS up to full setup with just a few commands.

Uses:

Installation

  1. Install the CLI with curl

    curl -Ls "https://raw.githubusercontent.com/mattiasalm/dotfiles/master/remote-install.sh" | zsh
  2. Run software update and install Xcode with command:

    dotfiles prepare

    It may cause system to reboot.

Setup of system with dotfiles command

$ dotfiles
Usage: dotfiles <command>

Commands:
  help                  - Show this help message
  prepare               - Prepare system for further installation
  all                   - Run all installation steps
  managers              - Install application managers
  applications          - Install applications
  macos-settings        - Applies macOS settings
  configuration         - Add system configuration
  update                - Update system, managers and applications

To do a full setup of the system just run the dotfiles all command.

Manual setup steps

Some manual steps are required after the automatic setup is finished.

Mackup

When the setup is finished sign in to Dropbox and then run mackup restore to bring back app configurations.

Hammerspoon

Run Hammerspoon and activate accessibility to ensure full functionality.

SSH keys

Update SSH keys in all places needed, such as GitHub. GitHub SSH key instructions.

If support for multiple SSH keys is needed, adjust the ~/.ssh/config file with the needed information. Example of config file:

# Work bitbucket
Host bitbucket.org
IdentityFile ~/.ssh/id_rsa

# Anything else = github
Host *
IdentityFile ~/.ssh/id_ed25519

Just make sure that all SSH keys is listed in the SSH agent by typing

$ ssh-add -l