Certainly! Here is the improved and detailed version of the "MacOS Tooling" section without references to freeCodeCamp:
This guide provides quick setup instructions for macOS users. For detailed learning and exercises, see the Prework Modules.
Homebrew is a package manager that simplifies the installation and management of applications on macOS. To get started, open Terminal.app and run the following command:
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"iTerm2 is a powerful alternative to the default Terminal.app, providing better features and customization options. Install iTerm2 using Homebrew:
brew install --cask iterm2Now you can open iTerm2 from your Applications folder.
Next, let's install the best code editor in the galaxy: Visual Studio Code! Use the following command to install it via Homebrew:
brew install --cask visual-studio-codeIn case you encounter any issues, you can alternatively use:
brew install visual-studio-codeFor complete VS Code setup instructions, see Module 2: Code Editor Setup.
The VetsWhoCode Extension Pack includes everything you need for our curriculum:
- Open VS Code
- Press
Cmd + Shift + Xto open Extensions - Search for "VetsWhoCode Extension Pack"
- Click Install
This pack includes:
- Prettier: Code formatter
- ESLint: Linting tool for JavaScript
- GitLens: Supercharge the built-in Git capabilities
- Live Server: Local development server with live reload
- Auto Rename Tag: Automatically rename paired HTML tags
- And more!
Also install the Vets Who Code HashFlag Extension to proudly display your affiliation:
- Search for "HashFlag" in Extensions
- Click Install
To make your code editor more comfortable, check out these two podcast episodes for the best tips and extensions:
The podcasts are great, but you can also just read the show notes for a quick summary.
Push yourself to use shortcuts to improve productivity. Here are some great resources for mastering macOS keyboard shortcuts:
Additionally, install CheatSheet.app to see all the shortcuts every app you use has to offer:
brew install --cask cheatsheetAfter installing, hold down the ⌘ key for a bit, and boom! You'll see a list of shortcuts.
Consider installing the following tools to further enhance your development environment:
- Node.js and npm: JavaScript runtime and package manager:
brew install node
- Git: Version control system:
brew install git
- Zsh and Oh My Zsh: Improved shell and its configuration framework:
brew install zsh sh -c "$(curl -fsSL https://raw.githubusercontent.com/ohmyzsh/ohmyzsh/master/tools/install.sh)"
With these tools and tips, you're well on your way to creating a powerful and efficient macOS development environment. Good luck, Mac users, and happy coding! 🚀