Below is my current development stack setup on Mac
To install latest version of node
brew install nodejsTo install and manage multiple versions of Node
brew install nvmOpen .zshrc to set NVM home folder and its initial setup with nano ~/.zshrc and add
export NVM_DIR=~/.nvm
source $(brew --prefix nvm)/nvm.shInstall Node and update NPM
nvm install --lts
nvm install --latest-npmInstall yarn
brew install yarnbrew cask install dotnet-sdkbrew install pythonbrew install rbenv ruby-buildthen run
rbenv install -lto list all available Ruby runtimes and chose one to install
rbenv install 3.4.9rbenv global 3.4.9rbenv initmodify the .zprofile to evaluate rbenv
eval "$(rbenv init - zsh)"to install rails
gem install railsto install rails-new
- Download
rails-newfrom their repo - Save into folder i.e. Projects/sdks
- Add to path by modifing the
.zprofileand add
/Users/xxx/Projects/sdks/rails-new- Create a new rails app
rails-new -u 3.4.9 -r 8.1.3 appname --devcontainerTo manage dependencies for Swift and Objective-C projects
brew install cocoapodspod setup