DEV Community

Cover image for Installing dotnet try in MacOS and try .NET Offline
WilliamRamirez
WilliamRamirez

Posted on

Installing dotnet try in MacOS and try .NET Offline

I read that Try .NET is an interactive documentation generator for .NET Core. Best of all is open source.

I wanted to be able to run dotnet try samples in macOS that I found in Github and same time being able to build a tutorial.

Installed dotnet

Downloaded the current .Net Core and installed
https://dotnet.microsoft.com/download/dotnet/curren

Installed the dotnet try tool using the terminal

dotnet tool install --global Microsoft.dotnet-try --version 1.0.20474.1
Enter fullscreen mode Exit fullscreen mode

Cloned the repository

git clone https://github.com/dotnet/try-samples
Enter fullscreen mode Exit fullscreen mode

I just set the current directory to one of the sample tutorials and ran code below

dotnet try

Enter fullscreen mode Exit fullscreen mode

This launched the browser.

For more dotnet CLI commands I would recommend to visit Microsoft docs

Image of Timescale

🚀 pgai Vectorizer: SQLAlchemy and LiteLLM Make Vector Search Simple

We built pgai Vectorizer to simplify embedding management for AI applications—without needing a separate database or complex infrastructure. Since launch, developers have created over 3,000 vectorizers on Timescale Cloud, with many more self-hosted.

Read full post →

Top comments (0)

Image of Docusign

🛠️ Bring your solution into Docusign. Reach over 1.6M customers.

Docusign is now extensible. Overcome challenges with disconnected products and inaccessible data by bringing your solutions into Docusign and publishing to 1.6M customers in the App Center.

Learn more