Last active
July 19, 2025 09:07
-
-
Save nik-garg/2089a5a11b59304850d6306e52539083 to your computer and use it in GitHub Desktop.
My Mac basic terminal setup
This file contains hidden or 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
# Install brew, package manager for mac | |
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)" | |
# Install oh-my-zsh | |
sh -c "$(curl -fsSL https://raw.githubusercontent.com/ohmyzsh/ohmyzsh/master/tools/install.sh)" | |
# Install oh-my-zsh plugins | |
# | |
# zsh-autosuggestions | |
# brew install zsh-autosuggestions | |
git clone https://github.com/zsh-users/zsh-autosuggestions ${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/zsh-autosuggestions | |
# Install neovim | |
# brew install neovim | |
curl -LO https://github.com/neovim/neovim/releases/download/nightly/nvim-macos-arm64.tar.gz | |
tar xzf nvim-macos-arm64.tar.gz | |
./nvim-macos-arm64/bin/nvim | |
# Lazyvim for neovim setup | |
git clone https://github.com/LazyVim/starter ~/.config/nvim | |
rm -rf ~/.config/nvim/.git | |
# Install node using nvm | |
# Download and install nvm: | |
curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.40.3/install.sh | bash | |
# in lieu of restarting the shell | |
\. "$HOME/.nvm/nvm.sh" | |
# Download and install Node.js: | |
nvm install 22 | |
# Verify the Node.js version: | |
node -v # Should print "v22.17.0". | |
nvm current # Should print "v22.17.0". | |
# Verify npm version: | |
npm -v # Should print "10.9.2". | |
# Install eslint_d globally | |
npm install -g eslint_d |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment