001 Environment Setup - CarrieKroutil/Reactivities GitHub Wiki
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
- Uninstall:
- 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
- Check using:
- If you previously installed .NET via Homebrew, it might conflict with the official installer.
- 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:
- Homebrew:
brew install git
- Install XCode Command Line Tools (mac specific step) if needed.
- Check success:
git --version
.
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/.
Install these extensions to create a more robust IDE, similar to Visual Studio.
-
C# for Visual Studio Code (powered by OmniSharp) | Publisher: Microsoft
-
C# Dev Kit | Publisher: Microsoft
- https://marketplace.visualstudio.com/items?itemName=ms-dotnettools.csdevkit
- NOTE: THIS WILL INSTALL "C# Extensions" LISTED BELOW
-
C# Extensions | Publisher: JosKreativ
- https://marketplace.visualstudio.com/items?itemName=kreativ-software.csharpextensions
- Add custom settings by right-clicking on installed extension → Extension Settings:
- Update “Private Member Prefix” to contain _
- Uncheck “Use This for Ctor Assignments”
-
NuGet Gallery | Publisher: pcislo
-
SQL Server (mssql) | Publisher: Microsoft
- Description: Develop Microsoft SQL Server, Azure SQL Database and SQL Data Warehouse
- https://marketplace.visualstudio.com/items?itemName=ms-mssql.mssql
-
SQLite | Publisher: alexcvzz