Overview

dotnet new tool-manifest

dotnet tool install dotnet-script

dotnet dotnet-script 

export DOTNET_SCRIPT_CACHE_LOCATION=$(PWD)/.dnet
You can invoke the tool from this directory using the following commands: 'dotnet tool run dotnet-script' or 'dotnet dotnet-script'.
Tool 'dotnet-script' (version '1.5.0') was successfully installed. Entry is added to the manifest file /Users/cicorias/g/learn/dnet/csx-learn/asa-deploy/.config/dotnet-tools.json.