If you see
dotnet command not found error even after installing
dotnet-sdk package using
homebrew, do not forget to symlink
ln -s /usr/local/share/dotnet/dotnet /usr/local/bin/ – via; Jan 2019.
filipw/dotnet-script: Run C# scripts from the .NET CLI.
$ dotnet tool install -g dotnet-script $ dotnet tool list -g $ dotnet tool uninstall dotnet-script -g
Write a C# script
#helloworld.csx Console.WriteLine("Hello world!");
and run it from the shell:
$ dotnet script helloworld.csx
Using it in mac:
~/.dotnet/tools/ to your
$ export PATH=$PATH:$HOME/.dotnet/bin
and then you can run the above helloworld.csx as:
#!/usr/bin/env dotnet-script Console.WriteLine("Hello world");
Nuget is the package manager for .NET. The NuGet client tools provide the ability to produce and consume packages. The NuGet Gallery is the central package repository used by all package authors and consumers. the website part is equivalent to Python’s pypi.org, the spec part of defining a package itself seems to be in XML.
Paket is a dependency manager for .NET and mono projects, which is designed to work well with NuGet packages
and also enables referencing files directly from Git repositories or any HTTP resource. It enables precise and predictable control over what packages the projects within
your application reference. The
paket.dependencies file is like
requirements.txt of python. The
paket.lock is like the
Pipfile.lock file that contains the exact versions of all the packages (incl. transitive dependencies) installed when
the program is run.
Powershell is available on Linux and Mac.
.NET Core 3.0
is coming out in second half of 2019.
ninjarobot/autodevenv: Automation to install tools for a development environment.