This repository provides scripts to setup tools on your mac, you may follow them step by step, as described below :
- Install homebrew
- Install basics tools, using homebrew (
curl,jq,htop,ncdu,tmux,HTTPie,tree,wget,mani,cmake,iterm) - Generate SSH key and GPG
- Install & configure git
- Install Development Stack (
python,java,node,vs code,idea,sqlectron,squirrelsql,postman)
Note that
bash,zshandoh-my-zshare covered by the dotfiles repository to customize dotfiles (bash,zsh,fish,git,nvim).
- Install homebrew
curl -L https://raw.githubusercontent.com/newlight77/macosx/main/install-homebrew.sh | bash- Install basic tools
curl -L https://raw.githubusercontent.com/newlight77/macosx/main/install-basic-tools.sh | bash- Install git
echo '
GIT_USER_NAME='Your name'
GIT_USER_EMAIL='Your email'
GIT_EDITOR=vi
#GIT_EDITOR=nano
' > .env
curl -L https://raw.githubusercontent.com/newlight77/macosx/main/install-git.sh | bash
git config --global credential.helper osxkeychain- Install and Configure SSH & PGP
echo '
PASSPHRASE=your passphrase for ssh key and gpg
' >> .envcurl -L https://raw.githubusercontent.com/newlight77/macosx/main/install-ssh-pgp.sh | bash- Install ssh-agent to keep passphrase in memory for ssh private key
curl -L https://raw.githubusercontent.com/newlight77/macosx/main/util/ssh-agent.sh -o ${HOME}/.config/util/ssh-agent.sh
chmod u+x ${HOME}/.config/util/ssh-agent.sh
# run ssh-agent
${HOME}/.config/util/ssh-agent.sh
or just run :
curl -L https://raw.githubusercontent.com/newlight77/macosx/main/install-util.sh | bash
- Development stacks and IDEs
- Install
pythonStack
curl -L https://raw.githubusercontent.com/newlight77/macosx/main/install-python.sh | bash- Install
javastack
curl -L https://raw.githubusercontent.com/newlight77/macosx/main/install-java.sh | bash- Install
nodeStack
curl -L https://raw.githubusercontent.com/newlight77/macosx/main/install-node.sh | bash- Install IDEs
curl -L https://raw.githubusercontent.com/newlight77/macosx/main/install-ides.sh | bash- Install IDEs
curl -L https://raw.githubusercontent.com/newlight77/macosx/main/install-docker.sh | bashYou may run the all-in-one script below :
curl -L https://raw.githubusercontent.com/newlight77/macosx/main/install-all.sh | bashThe is customization is covered by the dotfiles repository.
curl -L https://raw.githubusercontent.com/newlight77/dotfiles/main/customize-bash.sh | bash
curl -L https://raw.githubusercontent.com/newlight77/dotfiles/main/customize-zsh.sh | bashYou will have to open a new tab/terminal to spawn a new zsh console in order to customize your oh-my-zsh.
The ssh key generation is covered by install-ssh-pgp.sh. For more detail, refer to setup ssh.
Once the ssh key is generated, you will have to copy/paste (pbcopy to clipboard) and declare it on your github asetting.
The gpg key generation is covered by install-ssh-pgp.sh. For more detail, refer to setup gpg.
Once the gpg key is generated, you will have to copy/paste (pbcopy to clipboard) and declare it on your github asetting.
Going further :
- nvchad as a preconfigured neovim setup
- neovim-preconfigured another preconfigured neovim setup
- workspace a all-in-one workspace hosting repositories, managed by mani CLI
- setup mani
You may refer to the documentation below to walk you through all the steps covered by scripts above :