Releases · oleg-shilo/cs-script
Release v4.11.0.0Note
Windows Defender often marks zip files as infected for no reason. Use VirisTotal reports to ensure the safety of any downloaded distributable:
Installing
dotnet tool install --global cs-script.cli
Install as .NET Tool
dotnet tool install --global cs-script.cli
After that, you can invoke the script engine as css
.
You may need to add the folder of css
to the system PATH, unless .NET SDK setup does it.
It can be one of these depending on your OS:
%USERPROFILE%\. dotnet\tools
~/.dotnet/tools
$HOME/.dotnet/tools
Note:
css -kill
.css -server ?
) to boost script compilation performance. On Windows, it's done automatically on the very first execution, but on Linux, if you want to use this feature, it needs to be done manually (sudo css -server:add
).Ubuntu (terminal)
repo=https://github.com/oleg-shilo/cs-script/releases/download/v4.11.0.0/; file=cs-script_4.11-0.deb; rm $file; wget $repo$file; sudo dpkg -i $file
Depending on the user context you may need to add permissions to the CS-Script temp dir sudo chmod -R 777 /tmp
You can also create a convenient alias (cs-script_x.x-x.deb package does it automatically):
alias css='dotnet /usr/local/bin/cs-script/cscs.dll'+
After that, you can invoke CS-Script engine from anywhere by just typing 'css'.
Note: this very release is not available on Chocolatey and WinGet but only on Nuget (.NET tool) as described above.
WindowsChocolatey (pending approval
WinGet (pending approval)
Manual (Any OS)Just unpack the corresponding 7z file and start using the script engine executable cscs
.
When using on Windows, you can build an alias(shim) exe css.exe
for an easy launch of the script engine process: cscs -self-alias
.
The same shim is created if you are installing the CS-Script as a choco package.
Barebone distribution
The minimalistic manual distro on the target machine with .NET SDK installed is just a set of the script engine files:
Linux
cscs.dll
cscs.runtimeconfig.json
Running: dotnet ./cscs.dll <script>
You can also create an alias for convenient access:
echo "alias css='dotnet /usr/local/bin/cs-script/cscs.dll'" >> ~/.bashrc source ~/.bashrc
And then you can run scripts with a simple: css <script>
Windows
cscs.exe
cscs.dll
cscs.runtimeconfig.json
Running: cscs.exe <script>
css -ls <kill-all|ka>
//css_nuget -pre <package>
Note
Windows Defender often marks zip files as infected for no reason. Use VirisTotal reports to ensure the safety of any downloaded distributable:
Install as .NET Tool
dotnet tool install --global cs-script.cli
After that, you can invoke the script engine as css
.
You may need to add the folder of css
to the system PATH, unless .NET SDK setup does it.
It can be one of these depending on your OS:
%USERPROFILE%\. dotnet\tools
~/.dotnet/tools
$HOME/.dotnet/tools
Note:
css -kill
.css -server ?
) to boost script compilation performance. On Windows, it's done automatically on the very first execution, but on Linux, if you want to use this feature, it needs to be done manually (sudo css -server:add
).Ubuntu (terminal)
repo=https://github.com/oleg-shilo/cs-script/releases/download/v4.9.9.0/; file=cs-script_4.9-9.deb; rm $file; wget $repo$file; sudo dpkg -i $file
Depending on the user context you may need to add permissions to the CS-Script temp dir sudo chmod -R 777 /tmp
You can also create a convenient alias (cs-script_x.x-x.deb package does it automatically):
alias css='dotnet /usr/local/bin/cs-script/cscs.dll'+
After that, you can invoke CS-Script engine from anywhere by just typing 'css'.
Note: this very release is not available on Chocolatey and WinGet but only on Nuget (.NET tool) as described above.
WindowsChocolatey (pending approval
WinGet (pending approval)
Manual (Any OS)Just unpack the corresponding 7z file and start using the script engine executable cscs
.
When using on Windows, you can build an alias(shim) exe css.exe
for an easy launch of the script engine process: cscs -self-alias
.
The same shim is created if you are installing the CS-Script as a choco package.
Barebone distribution
The minimalistic manual distro on the target machine with .NET SDK installed is just a set of the script engine files:
Linux
cscs.dll
cscs.runtimeconfig.json
Running: dotnet ./cscs.dll <script>
You can also create an alias for convenient access:
echo "alias css='dotnet /usr/local/bin/cs-script/cscs.dll'" >> ~/.bashrc source ~/.bashrc
And then you can run scripts with a simple: css <script>
Windows
cscs.exe
cscs.dll
cscs.runtimeconfig.json
Running: cscs.exe <script>
All changes delivered by CS-Script v4.10.0 plus:
v4.10.0 Changes
CLI-ng:csc
is now using running csc.exe with the "magic" /shared
parameter that keeps VBCSCompiler.exe
running and improves the compilation performance dramatically.-ng:csc
is now routed to -ng:csc-inproc
/shared
parameter that keeps VBCSCompiler.exe` running and improves the compilation performance dramatically (triggered by #423).CodeDomEvaluator.CompileOnServer
default value now is set to true
.CSScript.EvaluatorConfig.CompilerOptions
now allows removing some of the default compiler options that you may find undesirable for whatever reason. This can be accomplished by specifying the option value with the !no
prefix (e.g. !no/shared
will remove /shared
.Note
Windows Defender often marks zip files as infected for no reason. Use VirisTotal reports to ensure the safety of any downloaded distributable:
Install as .NET Tool
dotnet tool install --global cs-script.cli
After that, you can invoke the script engine as css
.
You may need to add the folder of css
to the system PATH, unless .NET SDK setup does it.
It can be one of these depending on your OS:
%USERPROFILE%\. dotnet\tools
~/.dotnet/tools
$HOME/.dotnet/tools
Note:
css -kill
.css -server ?
) to boost script compilation performance. On Windows, it's done automatically on the very first execution, but on Linux, if you want to use this feature, it needs to be done manually (sudo css -server:add
).Ubuntu (terminal)
repo=https://github.com/oleg-shilo/cs-script/releases/download/v4.9.9.0/; file=cs-script_4.9-9.deb; rm $file; wget $repo$file; sudo dpkg -i $file
Depending on the user context you may need to add permissions to the CS-Script temp dir sudo chmod -R 777 /tmp
You can also create a convenient alias (cs-script_x.x-x.deb package does it automatically):
alias css='dotnet /usr/local/bin/cs-script/cscs.dll'+
After that, you can invoke CS-Script engine from anywhere by just typing 'css'.
Note: this very release is not available on Chocolatey and WinGet but only on Nuget (.NET tool) as described above.
WindowsChocolatey (pending approval
WinGet (pending approval)
Manual (Any OS)Just unpack the corresponding 7z file and start using the script engine executable cscs
.
When using on Windows, you can build an alias(shim) exe css.exe
for an easy launch of the script engine process: cscs -self-alias
.
The same shim is created if you are installing the CS-Script as a choco package.
Barebone distribution
The minimalistic manual distro on the target machine with .NET SDK installed is just a set of the script engine files:
Linux
cscs.dll
cscs.runtimeconfig.json
Running: dotnet ./cscs.dll <script>
You can also create an alias for convenient access:
echo "alias css='dotnet /usr/local/bin/cs-script/cscs.dll'" >> ~/.bashrc source ~/.bashrc
And then you can run scripts with a simple: css <script>
Windows
cscs.exe
cscs.dll
cscs.runtimeconfig.json
Running: cscs.exe <script>
-ng:csc
is now using running csc.exe with the "magic" /shared
parameter that keeps VBCSCompiler.exe
running and improves the compilation performance dramatically.-ng:csc
is now routed to -ng:csc-inproc
/shared
parameter that keeps VBCSCompiler.exe` running and improves the compilation performance dramatically (triggered by #423).CodeDomEvaluator.CompileOnServer
default value now is set to true
.CSScript.EvaluatorConfig.CompilerOptions
now allows removing some of the default compiler options that you may find undesirable for whatever reason. This can be accomplished by specifying the option value with the !no
prefix (e.g. !no/shared
will remove /shared
.Note
Windows Defender often marks zip files as infected for no reason. Use VirisTotal reports to ensure the safety of any downloaded distributable:
Install as .NET Tool
dotnet tool install --global cs-script.cli
After that, you can invoke the script engine as css
.
You may need to add the folder of css
to the system PATH, unless .NET SDK setup does it.
It can be one of these depending on your OS:
%USERPROFILE%\. dotnet\tools
~/.dotnet/tools
$HOME/.dotnet/tools
Note:
css -kill
.css -server ?
) to boost script compilation performance. On Windows, it's done automatically on the very first execution, but on Linux, if you want to use this feature, it needs to be done manually (sudo css -server:add
).Ubuntu (terminal)
repo=https://github.com/oleg-shilo/cs-script/releases/download/v4.9.9.0/; file=cs-script_4.9-9.deb; rm $file; wget $repo$file; sudo dpkg -i $file
Depending on the user context you may need to add permissions to the CS-Script temp dir sudo chmod -R 777 /tmp
You can also create a convenient alias (cs-script_x.x-x.deb package does it automatically):
alias css='dotnet /usr/local/bin/cs-script/cscs.dll'+
After that, you can invoke CS-Script engine from anywhere by just typing 'css'.
Note: this very release is not available on Chocolatey and WinGet but only on Nuget (.NET tool) as described above.
WindowsChocolatey (pending approval
WinGet (pending approval)
Manual (Any OS)Just unpack the corresponding 7z file and start using the script engine executable cscs
.
When using on Windows, you can build an alias(shim) exe css.exe
for an easy launch of the script engine process: cscs -self-alias
.
The same shim is created if you are installing the CS-Script as a choco package.
Barebone distribution
The minimalistic manual distro on the target machine with .NET SDK installed is just a set of the script engine files:
Linux
cscs.dll
cscs.runtimeconfig.json
Running: dotnet ./cscs.dll <script>
You can also create an alias for convenient access:
echo "alias css='dotnet /usr/local/bin/cs-script/cscs.dll'" >> ~/.bashrc source ~/.bashrc
And then you can run scripts with a simple: css <script>
Windows
cscs.exe
cscs.dll
cscs.runtimeconfig.json
Running: cscs.exe <script>
cscs.exe
to the cs-script.cli .NET Tool package (triggered by #423)css -cache <script>
command to print the cache location for a given scriptNote
Windows Defender often marks zip files as infected for no reason. Use VirisTotal reports to ensure the safety of any downloaded distributable:
Install as .NET Tool
dotnet tool install --global cs-script.cli
After that, you can invoke the script engine as css
.
You may need to add the folder of css
to the system PATH, unless .NET SDK setup does it.
It can be one of these depending on your OS:
%USERPROFILE%\. dotnet\tools
~/.dotnet/tools
$HOME/.dotnet/tools
Note:
css -kill
.css -server ?
) to boost script compilation performance. On Windows, it's done automatically on the very first execution, but on Linux, if you want to use this feature, it needs to be done manually (sudo css -server:add
).Ubuntu (terminal)
repo=https://github.com/oleg-shilo/cs-script/releases/download/v4.9.8.0/; file=cs-script_4.9-8.deb; rm $file; wget $repo$file; sudo dpkg -i $file
Depending on the user context you may need to add permissions to the CS-Script temp dir sudo chmod -R 777 /tmp
You can also create a convenient alias (cs-script_x.x-x.deb package does it automatically):
alias css='dotnet /usr/local/bin/cs-script/cscs.dll'+
After that, you can invoke CS-Script engine from anywhere by just typing 'css'.
Note: this very release is not available on Chocolatey and WinGet but only on Nuget (.NET tool) as described above.
WindowsChocolatey (pending approval
WinGet (pending approval)
Manual (Any OS)Just unpack the corresponding 7z file and start using the script engine executable cscs
.
When using on Windows, you can build an alias(shim) exe css.exe
for an easy launch of the script engine process: cscs -self-alias
.
The same shim is created if you are installing the CS-Script as a choco package.
Barebone distribution
The minimalistic manual distro on the target machine with .NET SDK installed is just a set of the script engine files:
Linux
cscs.dll
cscs.runtimeconfig.json
Running: dotnet ./cscs.dll <script>
You can also create an alias for convenient access:
echo "alias css='dotnet /usr/local/bin/cs-script/cscs.dll'" >> ~/.bashrc source ~/.bashrc
And then you can run scripts with a simple: css <script>
Windows
cscs.exe
cscs.dll
cscs.runtimeconfig.json
Running: cscs.exe <script>
This release is identical to v4.9.7 functionality-wise. It only delivers a minor change to the supplementary tool WDBG (web debugger for cs-script) but not to the engine itself.
CLIv4.9.8
v4.9.7
css -lists kill *
v4.9.7
Note
WindowsDefender often marks zip files as infected for no reason. Use VirisTotal reports to ensure the safety of any downloaded distributable:
Install as .NET Tool
dotnet tool install --global cs-script.cli
After that, you can invoke the script engine as css
.
You may need to add the folder of css
to the system PATH, unless .NET SDK setup does it.
It can be one of these depending on your OS:
%USERPROFILE%\. dotnet\tools
~/.dotnet/tools
$HOME/.dotnet/tools
Note:
css -kill
.css -server ?
) to boost script compilation performance. On Windows, it's done automatically on the very first execution, but on Linux, if you want to use this feature, it needs to be done manually (sudo css -server:add
).Ubuntu (terminal)
repo=https://github.com/oleg-shilo/cs-script/releases/download/v4.9.7.0/; file=cs-script_4.9-7.deb; rm $file; wget $repo$file; sudo dpkg -i $file
Depending on the user context you may need to add permissions to the CS-Script temp dir sudo chmod -R 777 /tmp
You can also create a convenient alias (cs-script_x.x-x.deb package does it automatically):
alias css='dotnet /usr/local/bin/cs-script/cscs.dll'+
After that, you can invoke CS-Script engine from anywhere by just typing 'css'.
Note: this very release is not available on Chocolatey and WinGet but only on Nuget (.NET tool) as described above.
WindowsChocolatey (pending approval
WinGet (pending approval)
Manual (Any OS)Just unpack the corresponding 7z file and start using the script engine executable cscs
.
When using on Windows, you can build an alias(shim) exe css.exe
for an easy launch of the script engine process: cscs -self-alias
.
The same shim is created if you are installing the CS-Script as a choco package.
Barebone distribution
The minimalistic manual distro on the target machine with .NET SDK installed is just a set of the script engine files:
Linux
cscs.dll
cscs.runtimeconfig.json
Running: dotnet ./cscs.dll <script>
You can also create an alias for convenient access:
echo "alias css='dotnet /usr/local/bin/cs-script/cscs.dll'" >> ~/.bashrc source ~/.bashrc
And then you can run scripts with a simple: css <script>
Windows
cscs.exe
cscs.dll
cscs.runtimeconfig.json
Running: cscs.exe <script>
css -lists kill *
Note
WindowsDefender often marks zip files as infected for no reason. Use VirisTotal reports to ensure the safety of any downloaded distributable:
Install as .NET Tool
dotnet tool install --global cs-script.cli
After that, you can invoke the script engine as css
.
You may need to add the folder of css
to the system PATH, unless .NET SDK setup does it.
It can be one of these depending on your OS:
%USERPROFILE%\. dotnet\tools
~/.dotnet/tools
$HOME/.dotnet/tools
Note:
css -kill
.css -server ?
) to boost script compilation performance. On Windows, it's done automatically on the very first execution, but on Linux, if you want to use this feature, it needs to be done manually (sudo css -server:add
).Ubuntu (terminal)
repo=https://github.com/oleg-shilo/cs-script/releases/download/v4.9.6.0/; file=cs-script_4.9-6.deb; rm $file; wget $repo$file; sudo dpkg -i $file
Depending on the user context you may need to add permissions to the CS-Script temp dir sudo chmod -R 777 /tmp
You can also create a convenient alias (cs-script_x.x-x.deb package does it automatically):
alias css='dotnet /usr/local/bin/cs-script/cscs.dll'+
After that, you can invoke CS-Script engine from anywhere by just typing 'css'.
Note: this very release is not available on Chocolatey and WinGet but only on Nuget (.NET tool) as described above.
WindowsChocolatey (pending approval
WinGet (pending approval)
Manual (Any OS)Just unpack the corresponding 7z file and start using the script engine executable cscs
.
When using on Windows, you can build an alias(shim) exe css.exe
for an easy launch of the script engine process: cscs -self-alias
.
The same shim is created if you are installing the CS-Script as a choco package.
Barebone distribution
The minimalistic manual distro on the target machine with .NET SDK installed is just a set of the script engine files:
Linux
cscs.dll
cscs.runtimeconfig.json
Running: dotnet ./cscs.dll <script>
You can also create an alias for convenient access:
echo "alias css='dotnet /usr/local/bin/cs-script/cscs.dll'" >> ~/.bashrc source ~/.bashrc
And then you can run scripts with a simple: css <script>
Windows
cscs.exe
cscs.dll
cscs.runtimeconfig.json
Running: cscs.exe <script>
#414: Implement assembly probing for external script execution (e.g. x86)
CSScriptLib<no changes>
Release v4.9.5.0Note
WindowsDefender often marks zip files as infected for no reason. Use VirisTotal reports to ensure the safety of any downloaded distributable:
NOTE
Since this release delivers only extended command-unlock
script changes this release was only published on nuget.org as a .NET Tool.
Install as .NET Tool
dotnet tool install --global cs-script.cli
After that, you can invoke the script engine as css
.
You may need to add the folder of css
to the system PATH, unless .NET SDK setup does it.
It can be one of these depending on your OS:
%USERPROFILE%\. dotnet\tools
~/.dotnet/tools
$HOME/.dotnet/tools
Note:
css -kill
.css -server ?
) to boost script compilation performance. On Windows, it's done automatically on the very first execution but on Linux, if you want to use this feature, it needs to be done manually (sudo css -server:add
).Ubuntu (terminal)
repo=https://github.com/oleg-shilo/cs-script/releases/download/v4.9.5.0/; file=cs-script_4.9-5.deb; rm $file; wget $repo$file; sudo dpkg -i $file
Depending on the user context you may need to add permissions to the CS-Script temp dir sudo chmod -R 777 /tmp
You can also create a convenient alias (cs-script_x.x-x.deb package does it automatically):
alias css='dotnet /usr/local/bin/cs-script/cscs.dll'+
After that, you can invoke CS-Script engine from anywhere by just typing 'css'.
Note: this very release is not available on Chocolatey and WinGet but only on Nuget (.NET tool) as described above.
WindowsChocolatey (pending approval
WinGet (pending approval)
Manual (Any OS)Just unpack the corresponding 7z file and start using the script engine executable cscs
.
When using on Windows, you can build an alias(shim) exe css.exe
for an easy launch of the script engine process: cscs -self-alias
.
The same shim is created if you are installing the CS-Script as a choco package.
Barebone distribution
The minimalistic manual distro on the target machine with .NET SDK installed is just a set of the script engine files:
Linux
cscs.dll
cscs.runtimeconfig.json
Running: dotnet ./cscs.dll <script>
You can also create an alias for convenient access:
echo "alias css='dotnet /usr/local/bin/cs-script/cscs.dll'" >> ~/.bashrc source ~/.bashrc
And then you can run scripts with a simple: css <script>
Windows
cscs.exe
cscs.dll
cscs.runtimeconfig.json
Running: cscs.exe <script>
%userprofile%\AppData\Local\cs-script\p-list
Note
WindowsDefender often marks zip files as infected for no reason. Use VirisTotal reports to ensure the safety of any downloaded distributable:
NOTE
Since this release delivers only extended command-unlock
script changes this release was only published on nuget.org as a .NET Tool.
Install as .NET Tool
dotnet tool install --global cs-script.cli
After that, you can invoke the script engine as css
.
You may need to add the folder of css
to the system PATH, unless .NET SDK setup does it.
It can be one of these depending on your OS:
%USERPROFILE%\. dotnet\tools
~/.dotnet/tools
$HOME/.dotnet/tools
Note:
css -kill
.css -server ?
) to boost script compilation performance. On Windows, it's done automatically on the very first execution but on Linux, if you want to use this feature, it needs to be done manually (sudo css -server:add
).Ubuntu (terminal)
repo=https://github.com/oleg-shilo/cs-script/releases/download/v4.9.3.0/; file=cs-script_4.9-3.deb; rm $file; wget $repo$file; sudo dpkg -i $file
Depending on the user context you may need to add permissions to the CS-Script temp dir sudo chmod -R 777 /tmp
You can also create a convenient alias (cs-script_x.x-x.deb package does it automatically):
alias css='dotnet /usr/local/bin/cs-script/cscs.dll'+
After that, you can invoke CS-Script engine from anywhere by just typing 'css'.
Note: this very release is not available on Chocolatey and WinGet but only on Nuget (.NET tool) as described above.
WindowsChocolatey (pending approval
WinGet (pending approval)
Manual (Any OS)Just unpack the corresponding 7z file and start using the script engine executable cscs
.
When using on Windows, you can build an alias(shim) exe css.exe
for an easy launch of the script engine process: cscs -self-alias
.
The same shim is created if you are installing the CS-Script as a choco package.
Barebone distribution
The minimalistic manual distro on the target machine with .NET SDK installed is just a set of the script engine files:
Linux
cscs.dll
cscs.runtimeconfig.json
Running: dotnet ./cscs.dll <script>
You can also create an alias for convenient access:
echo "alias css='dotnet /usr/local/bin/cs-script/cscs.dll'" >> ~/.bashrc source ~/.bashrc
And then you can run scripts with a simple: css <script>
Windows
cscs.exe
cscs.dll
cscs.runtimeconfig.json
Running: cscs.exe <script>
css -cmd
UX when generating custom commands descriptions.-pkill
to allow killing the process by PID.-runas
-which
-who
Note
WindowsDefender often marks zip files as infected for no reason. Use VirisTotal reports to ensure the safety of any downloaded distributable:
NOTE
Since this release delivers only extended command-unlock
script changes this release was only published on nuget.org as a .NET Tool.
Install as .NET Tool
dotnet tool install --global cs-script.cli
After that, you can invoke the script engine as css
.
You may need to add the folder of css
to the system PATH, unless .NET SDK setup does it.
It can be one of these depending on your OS:
%USERPROFILE%\. dotnet\tools
~/.dotnet/tools
$HOME/.dotnet/tools
Note:
css -kill
.css -server ?
) to boost script compilation performance. On Windows, it's done automatically on the very first execution but on Linux, if you want to use this feature, it needs to be done manually (sudo css -server:add
).Ubuntu (terminal)
repo=https://github.com/oleg-shilo/cs-script/releases/download/v4.9.3.0/; file=cs-script_4.9-3.deb; rm $file; wget $repo$file; sudo dpkg -i $file
Depending on the user context you may need to add permissions to the CS-Script temp dir sudo chmod -R 777 /tmp
You can also create a convenient alias (cs-script_x.x-x.deb package does it automatically):
alias css='dotnet /usr/local/bin/cs-script/cscs.dll'+
After that, you can invoke CS-Script engine from anywhere by just typing 'css'.
Note: this very release is not available on Chocolatey and WinGet but only on Nuget (.NET tool) as described above.
WindowsChocolatey (pending approval
WinGet (pending approval)
Manual (Any OS)Just unpack the corresponding 7z file and start using the script engine executable cscs
.
When using on Windows, you can build an alias(shim) exe css.exe
for an easy launch of the script engine process: cscs -self-alias
.
The same shim is created if you are installing the CS-Script as a choco package.
Barebone distribution
The minimalistic manual distro on the target machine with .NET SDK installed is just a set of the script engine files:
Linux
cscs.dll
cscs.runtimeconfig.json
Running: dotnet ./cscs.dll <script>
You can also create an alias for convenient access:
echo "alias css='dotnet /usr/local/bin/cs-script/cscs.dll'" >> ~/.bashrc source ~/.bashrc
And then you can run scripts with a simple: css <script>
Windows
cscs.exe
cscs.dll
cscs.runtimeconfig.json
Running: cscs.exe <script>
css -pkill <process name pattern>
: terminates the process based on name.css -update
: updates already installed CS-Script (if detected)css -edit <script|custom command>
: opens the script in the default editorcss -new:cmd <name>
:
-new:cmd
the file name is a command that starts with two dashes (e.g. -ver vs --version)handlecss -update
problem when trying to update itself locked by the current processYou can’t perform that action at this time.
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4