Skip to content

duxnp/dotfiles

 
 

Repository files navigation

dotfiles

Install Homebrew

Check https://brew.sh/ for latest command.

$ /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"

During installation, Homebrew should ask to install Command Line Tools. If not, run:

$ xcode-select --install

Clone Repository

$ git clone https://github.com/tnahs/dotfiles ~/.dotfiles

Setup Home

$ ~/.dotfiles/scripts/setup-home.sh

Install Brewfile

Before installation:

  1. Make sure the correct path to Homebrew is appended to your $PATH. This will depend on on wheter you're running an M1 or an Intel Mac.

    code ~/.dotfiles/zsh/.zshenv
  2. Install Rosetta. Some older applications will fail to install without Rosetta.

    sudo softwareupdate --install-rosetta

Open a fresh shell and run:

$ ~/.dotfiles/scripts/install-brewfile.sh

Config macOS

$ ~/.dotfiles/scripts/config-macos-defaults.sh

Install Rust

Check https://www.rust-lang.org/tools/install for latest command.

curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh

Install Python

$ ~/.dotfiles/scripts/install-pipx-packages.sh
$ ~/.dotfiles/scripts/install-python.sh [VERSION ...]

Restore Applications

$ ~/.dotfiles/scripts/restore-apple-books-library.sh [PATH_TO_LIBRARY_ARCHIVE]
$ ~/.dotfiles/scripts/restore-anki-collection.sh [PATH_TO_COLLECTION_ARCHIVE]

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 50.3%
  • Shell 46.8%
  • Ruby 2.9%