Friday, April 19, 2024

Jitter a Git-based binary manager for Linux written in Nim

Must Read

A repository-oriented binary manager for Linux

How it works
Jitter searches through GitHub(and hopefully soon more sources) for releases with .tar.gz, .tgz, .zip or .AppImage assets. Unlike Homebrew or similar package managers, Jitter does not require a brewfile or nixfile in order to recognize the project.

Installing
Using the install.sh script (recommended):

wget -qO- https://github.com/sharpcdf/jitter/blob/main/install.sh?raw=true | bash

To pass flags such as –force or –uninstall use:

wget -qO- https://github.com/sharpcdf/jitter/blob/main/install.sh?raw=true | bash -s — –flag

Through Nimble:

nimble install https://github.com/sharpcdf/jitter

Manually (versions above 0.3.0):
Download the latest release and run

Notes

Right now, Jitter only supports GitHub as a download source.
At the moment, Jitter is being developed and you need at least version 0.3.0 to use the install script. Previous releases relied on an installer called Mug.
You may encounter bugs as this project is still in development, please create an issue if you encounter anything wrong with jitter 🙂
With the release of Jitter 0.3.0, many things broke and are being worked on. If you find a bug with a command or flag, please tell us so we can fix it

Building
Clone the repository and run nimble build.
(You need to have Nim and Nimble installed).

git clone https://github.com/sharpcdf/jitter
cd jitter
nimble build

Usage
$ jtr
A git-based binary manager for linux.

Usage:
[options] COMMAND

Commands:

install Installs the binaries of the given repository, if avaliable. [gh:][user/]repo[@tag]
update Updates the specified binaries, or all binaries if none are specified. user/repo[@tag]
remove Removes the specified binaries from your system. user/repo[@tag]
search Searches for binaries that match the given repositories, returning them if found. [user/]repo
list Lists all executables downloaded.
catalog Lists all installed packages.

Options:
-h, –help
-v, –version

Example Usage

jtr install gh:VSCodium/vscodium – installs repository VSCodium/vscodium from github.
jtr install vscodium – searches for all repositories that have the name vscodium, and then installs the chosen one
jtr search vscodium – searches and lists all repositories that have vscodium in their name.
jtr search VSCodium/vscodium – searches and lists all release tags of repository VSCodium/vscodium
jtr list – lists all executables in jitter’s bin.
jtr catalog – lists all downloaded repositories
jtr remove VSCodium/vscodium – removes VSCodium/vscodium from your system
jtr install VSCodium/vscodium@1.69.0 – installs VSCodium/vscodium release with the tag 1.69.0
jtr update VSCodium/vscodium – updates vscodium to the latest version
jtr update (this|jitter|jtr) – updates jitter to the latest release broken in the code revamp, being worked on
jtr update all – updates all installed packages

Note: repositories are case insensitive, and all AppImage file names are converted to the name of the repository. jtr install VSCodium/vscodium is equivalent to jtr install vscodium/vscodium.

Read More

- Advertisement - Antennas Direct - Antennas Reinvented
- Advertisement -
Latest News

How Beijing’s Silent War Against America Includes Seizing Control of Africa

Africa's 1.5 billion people are now subject to China's far-reaching influence, which encompasses agriculture, natural resource extraction, and even...
- Advertisement - Yarden: ENJOY $20 OFF of $150 or more with code 20YD150

More Articles Like This

- Advertisement -spot_img
×