- iTerm2 (mac): https://iterm2.com/
- brew (mac, ubuntu): https://brew.sh/
- Tmux (all): https://github.com/tmux/tmux/wiki/Installing
- oh-my-zsh (all): https://ohmyz.sh/#install
- fzf (all): https://github.com/junegunn/fzf
- fasd (all): (via brew)
- slack (all): (via App Store or Microsoft Store)
- zoom (all): https://zoom.us/download
- vscode (all): https://code.visualstudio.com/download
- Telegram (all): (via App Store or Microsoft Store)
- Golang (all): (via brew)
- Rbenv (all): https://github.com/rbenv/rbenv#installation
- PostgreSQL (all): (via brew)
- Jumpcut (free clipboard manager) (mac): (via brew)
- DBeaver (all): https://dbeaver.io/download/ or via brew
- nvm (all): https://github.com/nvm-sh/nvm#installing-and-updating
- Generate new ssh key with:
ssh-keygen -t rsa
- Input passphrase if asked.
- By default the private and public key will be generate in the home directory, e.g:
~/.ssh/id_rsa
.
- Install tmux with:
brew install tmux
- Create a new config file if not exist:
touch ~/.tmux.conf
. - Copy the config from /tmux.conf
To install:
brew install fzf
# To install useful key bindings and fuzzy completion:
$(brew --prefix)/opt/fzf/install
Once installed:
- Install
spaceship
by running the commands below:
git clone https://github.com/spaceship-prompt/spaceship-prompt.git "$ZSH_CUSTOM/themes/spaceship-prompt" --depth=1
ln -s "$ZSH_CUSTOM/themes/spaceship-prompt/spaceship.zsh-theme" "$ZSH_CUSTOM/themes/spaceship.zsh-theme"
- Install Powerline fonts running the commands below:
# clone
git clone https://github.com/powerline/fonts.git --depth=1
# install
cd fonts
./install.sh
# clean-up a bit
cd ..
rm -rf fonts
- Change terminal fonts to use the Powerline fonts, on Mac, change the iTerm2 fonts to fonts that ends with
for Powerline
. - Configure zsh to use
spaceship
theme:
ZSH_THEME="spaceship"
...
plugins=(git ruby zsh-interactive-cd golang)
...
# Spaceship config
SPACESHIP_PROMPT_ORDER=(
user
host
dir
git
ruby
golang
terraform
exit_code
line_sep
char
kubectl
)
SPACESHIP_PROMPT_ADD_NEWLINE=true
SPACESHIP_PROMPT_FIRST_PREFIX_SHOW=false
SPACESHIP_PROMPT_SEPARATE_LINE=true
SPACESHIP_CHAR_SYMBOL="›"
SPACESHIP_CHAR_PREFIX=" "
SPACESHIP_CHAR_SUFFIX=" "
# For other options, refer to the official spaceship docs
- Then reload
source ~/.zshrc
.
Once installed:
- Run
rbenv init
. - There should an instruction to add the following lines to
.zshrc
or.bashrc
(whether you used zsh or not):
# Load rbenv automatically by appending
# the following to ~/.zshrc:
eval "$(rbenv init - zsh)"
- Reload rc file with
source ~/.zshrc
orsource ~/.bashrc
. - Confirm the
rbenv
installation is correct by running below command:curl -fsSL https://github.com/rbenv/rbenv-installer/raw/main/bin/rbenv-doctor | bash
- Install with
brew update && brew install fasd
. - Add
eval "$(fasd --init auto)"
to the rc file.
- Install with
brew install postgresql
, for specific version, add@<version>
. - To start the PostgreSQL service, run
brew services restart postgresql
orbrew services restart postgresql@<version>
. - Install
libpq
withbrew install libpq
if required. - Run
echo 'export PATH="/opt/homebrew/opt/libpq/bin:$PATH"' >> ~/.zshrc
- To check if the postgres is running run
brew services info postgresql@<version>
- To login to the default database run
psql postgres
.
Notice:
On macOS m1 chip, you will probably facing an issue while installing pg
gem. Try step 3 and 4 to fix that.
- Install with
brew install --cask jumpcut
- Trigger with
Control + Option + V
.
For OSX, run this command to enabling scrolling with hjkl
key:
defaults write com.microsoft.VSCode ApplePressAndHoldEnabled -bool false
To install, follow below instructions:
- Install with
curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.1/install.sh | bash
. - Reload profile with
source ~/.zshrc
. - Install NodeJS with
nvm install node
, this command will install the latest stable version. - Install Yarn with
npm install --global yarn
.