Create a new project.json and example Program.cs:
dotnet new
Restore needed packages:
dotnet restore
Compile and run the example:
dotnet run