-
Notifications
You must be signed in to change notification settings - Fork 251
CS Script on Linux
CS-Script requires .NET 5 or higher.
Note that since .NET 5 is hosted on the custom package repository it's not included into cs-script package as a dependency and you will be required to install it separately. See https://dotnet.microsoft.com/download/dotnet/5.0 for details.
-
The GitHub repository hosts the universal package compatible with any Ubuntu distro. It can be installed with the shell command like this one (e.g. v4.1.0.0).
repo=https://github.com/oleg-shilo/cs-script/releases/download/v4.2.0.0/; file=cs-script_4.2-0.deb; rm $file; wget $repo$file; sudo dpkg -i $file
Each release page contains the release description with the corresponding command text that you can simply copy and execute in terminal.
-
Alternatively, you can download the latest package (cs-script<max-ver>.deb) from the Releases page.
Install the package either by double-clicking the .deb file or with'sudo dpkg -i cs-script_*.deb'
.
- Just download and unpack cs-script.linux.vx.x.x.x.7z file from the version found on the Releases page. That's it. Though with this type of simplified deployment you will have use the script engine via .NET launcher:
dotnet ./cscs.exe --version
But of course you can create a symbolic link so you can launch the script engine from anywhere and with less typing.