-
Notifications
You must be signed in to change notification settings - Fork 0
Creating an app manifest
If you want to install a program that's not included in Scoop, it's easy to create an app manifest yourself.
Here's how to create and install a manifest for an 'app' that says hello, in just a few lines of powershell.
# write an app manifest to hello.json
'{ "version": "1.0", "url": "https://gist.github.com/lukesampson/6446238/raw/hello.ps1", "bin": "hello.ps1" }' > hello.json
# install the app
scoop install hello
# did it work?
hello # -> should output 'Hello, <your-username>!'
If you want others on your network to be able to install from your app manifest, you could just put it on a network share location, e.g. \shared\files\scoop\hello.json. Then, for others to install your app, you can tell them to run:
scoop install \\shared\files\scoop\hello.json
If you make your app manifest publicly available on the web, anyone can install it once they know the URL. For example, I've made a GitHub gist for hello.json here. Now anyone can install it:
scoop install https://gist.github.com/lukesampson/6446567/raw/hello.json
If you ran some of these examples, you probably noticed a warning saying 'no hash in manifest'. For reference information on specifying file hashes and much more in your manifests, see the App Manifests reference.
If you want to maintain a collection of apps, see the page on Buckets for more information.