Setup Programming Languages
Python
Add aliases to ~/.bashrc file:
sh
# Run `source ~/.bashrc` after changes
export python="/usr/bin/python3"
export pip="/usr/bin/pip3"Check the version by running:
sh
python --versionThis will probably trigger the installation of command line developer tools.
Node
Node.js installation steps are available at this official page. Here are the steps for current version v22:
sh
# Download and install nvm:
curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.40.1/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.14.0".
nvm current # Should print "v22.14.0".
# Download and install Yarn:
corepack enable yarn
# Verify Yarn version:
yarn -vJava
Java can be downloade and installed from the official website.
Scala and Ammonite
Scala and Ammonite can be installed using Homebrew. Execute this command:
sh
brew install coursier/formulas/coursier && cs setup