Last active
February 1, 2023 16:25
-
-
Save xenjke/f38b1600c016dc2bde22f36ee32c5ba7 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# first lets get the brew sorted | |
# that will ask for sudo going further | |
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)" | |
# install commandline apps first then | |
# will prompt to install xcode extensions as well | |
# that will take time | |
brew install \ | |
zsh \ | |
fzf \ | |
fnm \ | |
asdf \ | |
imagemagick \ | |
hyperfine \ | |
tree \ | |
tldr \ | |
htop \ | |
jq \ | |
zsh-syntax-highlighting \ | |
gh \ | |
awscli \ | |
neovim \ | |
chezmoi \ | |
restic \ | |
nnn \ | |
switchaudio-osx \ | |
&& echo Done installing CLI tools! | |
## finish FZF installation (not needed if syncing dotfiles) | |
# /opt/homebrew/opt/fzf/install --all | |
# install macos apps | |
# should be able to work as a separate installation | |
# may be for home | |
# daisydisk \ | |
# spotify \ | |
# istat-menus \ | |
# mimestream \ | |
# alfred \ | |
# firefox \ | |
# may be not anymore | |
# miro \ | |
# iterm2 \ | |
brew install --cask \ | |
warp \ | |
todoist \ | |
sensiblesidebuttons \ | |
obsidian \ | |
rectangle \ | |
visual-studio-code \ | |
dropbox \ | |
google-drive \ | |
telegram \ | |
slack \ | |
numi \ | |
1password \ | |
1password-cli \ | |
fantastical \ | |
discord \ | |
raycast \ | |
submlime-text | |
&& echo Done installing casks! | |
# make zsh default | |
# not needed since Apple adopoted ZSH by default | |
# sudo sh -c "echo $(which zsh) >> /etc/shells" && chsh -s $(which zsh) | |
# install oh my zsh | |
sh -c "$(curl -fsSL https://raw.githubusercontent.com/ohmyzsh/ohmyzsh/master/tools/install.sh)" "" --unattended | |
# might need to add ENV to .zshrc for FNM to set node | |
# not needed if syncing dotfiles | |
# echo 'eval "$(fnm env)"' >> ~/.zshrc | |
## just set it for now | |
eval "$(fnm env)" | |
## starting dotfiles sync | |
## chezmoi init https://github.com/xenjke/dotfiles.git | |
## chezmoi apply -v | |
# usefull stuff from NPM | |
# goes global | |
fnm install 16 | |
fnm use 16 | |
npm i -g prettier prettier-plugin-sh | |
## setup nvim plugins | |
sh -c 'curl -fLo "${XDG_DATA_HOME:-$HOME/.local/share}"/nvim/site/autoload/plug.vim --create-dirs \ | |
https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim' | |
# nvim +PlugInstall | |
## now restore with restic scripts! | |
## use gdrive to restore the restic database | |
## setup dropbox to have the settings folder mounted | |
## restore raycast from google drive |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment