001 Environment Setup - CarrieKroutil/Reactivities GitHub Wiki

Install Tools

IDE: Download and install VSCode - https://code.visualstudio.com/download.

.NET 9.0: Download and install .NET - https://dotnet.microsoft.com/en-us/download.

Ensure dotnet command works in terminal

1️⃣ Verify Installation:

Confirm that .NET is installed by running: ls /usr/local/share/dotnet or ls /usr/local/bin/dotnet

If .NET is installed, you should see files and folders related to the .NET SDK.

2️⃣ Manually Add .NET to PATH:

Temporary Fix (For Current Session Only) Run the following command: export PATH="$PATH:/usr/local/share/dotnet"

  • Now, test if the command works by running: dotnet --version

Permanent Fix (For change to persist across terminal sessions)

If you're using zsh (default on macOS):

echo 'export PATH="$PATH:/usr/local/share/dotnet"' >> ~/.zshrc
source ~/.zshrc

If you're using bash:

echo 'export PATH="$PATH:/usr/local/share/dotnet"' >> ~/.bash_profile
source ~/.bash_profile

3️⃣ Check the Installed SDKs

You can check if .NET is installed by running: dotnet --list-sdks

4️⃣ Still not working?

Consider:

  • Reinstall .NET SDK
    • Uninstall:
      • sudo rm -rf /usr/local/share/dotnet
      • sudo rm -rf /usr/local/bin/dotnet
    • Reinstall .NET SDK from official download page
  • Check for Conflicting Installations
    • If you previously installed .NET via Homebrew, it might conflict with the official installer.
      • Check using: brew list | grep dotnet
      • If found, try uninstalling: brew uninstall --force dotnet
  • Restart Your Terminal or System

.NET SKD: Download and install - https://dotnet.microsoft.com/en-us/download/dotnet/sdk-for-vs-code

Package Manager for OS: Homebrew or Chocolatey

Git: Download and install Git - https://git-scm.com/. Or use Package Manager:

Inform git of the user to perform tasks:

  • git config --global user.name "NameHere"
  • git config --global user.email "[email protected]"

Nodejs: Download and install node v18+ … but rather than installing directly from https://nodejs.org/en, use a Node Version Manger (nvm) to toggle which version is used at user or project level. Mac nvm and Windows nvm

  • Run the command nvm --version to verify setup.

Postman: Download and install Postman: https://www.postman.com/downloads/.

VSCode Extensions

Install these extensions to create a more robust IDE, similar to Visual Studio.

⚠️ **GitHub.com Fallback** ⚠️