- VSCode
- TypeScript
- React
- Vite
- MUI
- React Router
- React Hook Form
- Valibot
- ESLint
- Prettier
- Vitest
- Rancher Desktop
- Visual Studio Code
Install homebrew .
brew install --cask \
visual-studio-code \
rancher \
fnm
brew install fnm
test $(cat ~/.zshrc | grep 'eval "$(fnm env --use-on-cd)"' | wc -l | xargs) -eq 0 && echo 'eval "$(fnm env --use-on-cd)"' >> ~/.zshrc
# The version described in .node-version is installed
fnm install
For GUI applications, set the path in .huskyrc because sometimes the path is not set and npm command not found.
cat << 'EOT' > ~/.huskyrc
if [[ -d '/home/linuxbrew/.linuxbrew' ]]; then
# Linux/WSL
HOMEBREW_HOME='/home/linuxbrew/.linuxbrew'
elif [[ -d '/opt/homebrew' ]]; then
# Apple Silicon Mac
HOMEBREW_HOME='/opt/homebrew'
else
# Intel Mac
HOMEBREW_HOME='/usr/local'
fi
eval "$($HOMEBREW_HOME/bin/brew shellenv)"
eval "$($HOMEBREW_HOME/bin/fnm env)"
EOT
npm run dev