install
windows
linux/macos
|
cargo
npm
usage
# install latest
# install v0.0.1
# install yt-dlp from github
# install deno and denort
# install deno
# install from json
# install from local json file
# install to custom directory
# install to custom directory name (~/.ei/custom-name)
# only install qjs
dist-manifest.json
When the release package contains many files, add a dist-manifest.json file to define the format of each file
Taking mujs as an example, it contains the following files
.
├── libmujs.a
├── libmujs.o
├── libmujs.so
├── mujs-pp.exe
├── mujs.exe
└── mujs.pc
"mujs-aarch64-apple-darwin.tar.gz": {
"name": "mujs-aarch64-apple-darwin.tar.gz",
"target_triples": [
"aarch64-apple-darwin"
],
"assets": [
{
"name": "mujs",
"path": "mujs",
"kind": "executable"
},
{
"name": "mujs-pp",
"path": "mujs-pp",
"kind": "executable"
},
{
"name": "libmujs.dylib",
"path": "libmujs.dylib",
"kind": "c_dynamic_library"
},
{
"name": "libmujs.a",
"path": "libmujs.a",
"kind": "c_static_library"
}
]
},