If you don't already have Scoop, you need to install that first (using Powershell):
iex (new-object net.webclient).downloadstring('https://get.scoop.sh')
scoop bucket add raisercostin https://github.com/raisercostin/raiser-scoop-bucket
scoop install picasa
scoop install picasa-starter
scoop install riot
scoop install pidgin pidgin-facebook pidgin-telegram pidgin-slack pidgin-matrix pidgin-skype
scoop install yed
scoop install kscript
See https://github.com/lukesampson/scoop/wiki/App-Manifest-Autoupdate#using-autoupdate
powershell
#to check for upgrades
D:\home\raiser-apps\apps\scoop\current\bin\checkver.ps1 pidgin D:\home\raiser-apps\buckets\raiser-bucket
#to upgrade script
D:\home\raiser-apps\apps\scoop\current\bin\checkver.ps1 pidgin D:\home\raiser-apps\buckets\raiser-bucket -u
#to test new installer
scoop update pidgin
To execute kotlin scripts in windows without bash
scoop bucket add raisercostin https://github.com/raisercostin/raiser-scoop-bucket
scoop install kscript
kello.ks
#!/usr/bin/env kscript
println("Hello from Kotlin!")
> kscript kello.ks
Hello from Kotlin!
ls.ks
#!/usr/bin/env kscript
@file:DependsOn("org.raisercostin:jedi-io_2.11:0.65")
@file:MavenRepository("raiser-repo","https://raw.githubusercontent.com/raisercostin/maven-repo/master" )
val location = org.raisercostin.jedi.Locations.file(args.getOrNull(0)?:".")
println("ls "+location.canonical())
for (arg in location.list()) {
println("${arg.name()}")
}
kscript ls.ks .