Installed Tools / Software |
---|
Xcode |
Homebrew |
git |
iTerm2 |
zsh, Oh My Zsh |
Powerlevel10K |
SDKMan |
Maven |
Fire up the Terminal and get started:
sudo xcode-select --install
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install.sh)"
Once Homebrew installation is complete a Next steps: message is displayed the first of which is Add Homebrew to your PATH, copy and execute YOUR version of message.
echo 'eval "$(/opt/homebrew/bin/brew shellenv)"' >> /Users/ockert/.zprofile
eval "$(/opt/homebrew/bin/brew shellenv)"
brew doctor
brew install git
brew install iterm2
Use iTerm for terminal commands from this step onward.
zsh --version
sh -c "$(curl -fsSL https://raw.githubusercontent.com/ohmyzsh/ohmyzsh/master/tools/install.sh)"
git clone --depth=1 https://github.com/romkatv/powerlevel10k.git ${ZSH_CUSTOM:-$HOME/.oh-my-zsh/custom}/themes/powerlevel10k
nano ~/.zshrc
Find and set:
ZSH_THEME="powerlevel10k/powerlevel10k"
Select / Set the following options:
- Install Meslo Nerd Font? Yes
- Restart iTerm2: ⌘ Q
- Answer diamond question.
- Answer lock question.
- Answer logo question.
- Answer overlap question.
- Prompt Style: (3) Rainbow
- Character Set: (1) Unicode.
- Show current time? (2) 24-hour format.
- Prompt Separators: (1) Angled.
- Prompt Heads: (1) Sharp.
- Prompt Tails: (1) Flat.
- Prompt Height: (2) Two lines.
- Prompt Connection: (2) Dotted.
- Prompt Frame: (3) Right.
- Connection & Frame Color: (2) Light.
- Prompt Spacing: (2) Sparse.
- Icons: (2) Many icons.
- Prompt Flow: (1) Concise.
- Enable Transient Prompt? (n) No.
- Instant Prompt Mode: (1) Verbose
- Apply changes to ~/.zshrc? (y) Yes.
To run it again:
p10k configure
"terminal.integrated.fontFamily": "MesloLGS NF", "terminal.integrated.defaultProfile.osx": "zsh",
Home: https://sdkman.io/
Usage: https://sdkman.io/usage
curl -s "https://get.sdkman.io" | bash
Open a new terminal and check installation with:
sdk help
sdk install java 8.0.332-zulu
sdk install maven 3.9.9
For the default current versions run:
sdk install java
sdk install maven
sdk env init
# Enable auto-env through the sdkman_auto_env config
# Add key=value pairs of SDKs to use below
java=8.0.332-zulu
maven=3.9.9
sdk env
java -version
mvn -v
Both Java and Maven versions should match the selected versions and Maven should be using the selected Java version. (This did not detect directly after Maven install but corrected itself while being investigated). Check all paths using:
env