install-release


Nameinstall-release JSON
Version 0.4.4 PyPI version JSON
download
home_pagehttps://github.com/Rishang/install-release
SummarySimple package manager to easily install, update and manage any command-line(CLI) tool directly from github releases
upload_time2024-06-20 10:23:53
maintainerNone
docs_urlNone
authorRishang
requires_python<4.0,>=3.8
licenseNone
keywords
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            # Install Release ๐Ÿš€
[![Python Version](https://img.shields.io/badge/Python-3.8_to_3.11-xx.svg)](https://shields.io/) [![Downloads](https://static.pepy.tech/personalized-badge/ir?period=total&units=international_system&left_color=black&right_color=orange&left_text=Downloads)](https://pepy.tech/project/ir)


`ir` is a CLI tool to install any tool for your device directly from their GitHub releases and keep them updated. Consider it as a small package manager to install tools from GitHub releases.

This can be any tool you want to install, which is pre-compiled for your device and present on GitHub releases.

> INFO: It's mainly for installing tools that are not directly available officially by package managers like `apt, yum, pacman, brew` etc.


<!-- Table of content -->
## Table of Contents
- [Install Release ๐Ÿš€](#install-release-)
  - [Table of Contents](#table-of-contents)
  - [Getting started](#getting-started)
  - [Prerequisites](#prerequisites)
  - [Install `install-release` package](#install-install-release-package)
  - [Updating `install-release`](#updating-install-release)
  - [Example usage `ir --help`](#example-usage-ir---help)
      - [Install completion for cli](#install-completion-for-cli)
      - [Install tool from GitHub releases](#install-tool-from-github-releases)
      - [List installed tools](#list-installed-tools)
      - [Remove installed release](#remove-installed-release)
      - [Update all previously installed tools to the latest version](#update-all-previously-installed-tools-to-the-latest-version)
      - [Pull state templates for installing tools.](#pull-state-templates-for-installing-tools)
      - [Hold Update to specific installed tool.](#hold-update-to-specific-installed-tool)
      - [Config tool installation path](#config-tool-installation-path)
      - [Config updates for pre-release versions](#config-updates-for-pre-release-versions)
      - [Configure GitHub token for higher rate limit](#configure-github-token-for-higher-rate-limit)

## Getting started


```bash
# Install ir
pip install -U ir
```

```
# Example Installation a tool named `gron` directly from its GitHub releases

# ir get [GITHUB-URL]

โฏ ir get https://github.com/tomnomnom/gron 
```

![demo](https://raw.githubusercontent.com/Rishang/install-release/main/.github/images/demo.png)


Checking for gron is installed by `install-release`:

```
โฏ which gron
/home/noobi/bin/gron

โฏ gron --help
Transform JSON (from a file, URL, or stdin) into discrete assignments to make it greppable
... # more
```


## Prerequisites

- python3.8 or higher

- [libmagic](https://github.com/ahupp/python-magic#installation)
- Default releases Installation Path is: `~/bin/`,
This is the path where installed tools will get stored.

- In order to run installed tools, you need to add the following line to your `~/.bashrc` or `~/.zshrc` file:

```bash
export PATH=$HOME/bin:$PATH
```


## Install `install-release` package

```bash
pip install -U install-release
```

## Updating `install-release`

For seeing version:
```bash
ir me --version
```

For updating:
```bash
ir me --upgrade
```

## Example usage `ir --help`


```
# Help page

โฏ ir --help
Usage: ir [OPTIONS] COMMAND [ARGS]...

  GitHub Release Installer, based on your system

  Commands:
    get      | Install GitHub release, cli tool
    ls       | list all installed releases, cli tools
    rm       | remove any installed release, cli tools
    upgrade  | Upgrade all installed releases, cli tools
    state    | show currently stored state
    config   | Set configs for tool
    pull     | Install tools from a remote state
    hold     | Keep updates a tool on hold.
    me       | Update ir tool.
```

For sub-command help use: `ir <sub-command> --help`

Example: `ir get --help`

#### Install completion for cli
```bash
# ir --install-completion [SHELL: bash|zsh|fish|powershell]
# Example for zsh:
ir --install-completion zsh
```

#### Install tool from GitHub releases

```bash
โฏ ir get "https://github.com/ahmetb/kubectx"

๐Ÿ“‘ Repo     : ahmetb/kubectx
๐ŸŒŸ Stars    : 13295
โœจ Language : Go
๐Ÿ”ฅ Title    : Faster way to switch between clusters and namespaces in kubectl

                              ๐Ÿš€ Install: kubectx                               
โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”ณโ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”ณโ”โ”โ”โ”โ”โ”โ”โ”โ”โ”ณโ”โ”โ”โ”โ”โ”โ”โ”โ”โ”ณโ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”“
โ”ƒ Name    โ”ƒ Selected Item                      โ”ƒ Version โ”ƒ Size Mb โ”ƒ Downloads โ”ƒ
โ”กโ”โ”โ”โ”โ”โ”โ”โ”โ”โ•‡โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ•‡โ”โ”โ”โ”โ”โ”โ”โ”โ”โ•‡โ”โ”โ”โ”โ”โ”โ”โ”โ”โ•‡โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”ฉ
โ”‚ kubectx โ”‚ kubectx_v0.9.4_linux_x86_64.tar.gz โ”‚ v0.9.4  โ”‚ 1.0     โ”‚ 43811     โ”‚
โ””โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ดโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ดโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ดโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ดโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”˜
Install this tool (Y/n): y
 INFO     Downloaded: 'kubectx_v0.9.4_linux_x86_64.tar.gz' at /tmp/dn_kubectx_ph6i7dmk                                                               utils.py:159
 INFO     install /tmp/dn_kubectx_ph6i7dmk/kubectx /home/noobi/bin/kubectx                                                                  core.py:132
 INFO     Installed: kubectx
```
```
# checking if kubectx is installed
โฏ which kubectx
/home/noobi/bin/kubectx

โฏ kubectx --version
0.9.4
```

#### List installed tools

```bash
โฏ ir ls

                       Installed tools                        
โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”ณโ”โ”โ”โ”โ”โ”โ”โ”โ”โ”ณโ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”“
โ”ƒ Name      โ”ƒ Version โ”ƒ Url                                  โ”ƒ
โ”กโ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ•‡โ”โ”โ”โ”โ”โ”โ”โ”โ”โ•‡โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”ฉ
โ”‚ terrascan โ”‚ v1.15.2 โ”‚ https://github.com/tenable/terrascan โ”‚
โ”‚ gron      โ”‚ v0.7.1  โ”‚ https://github.com/tomnomnom/gron    โ”‚
โ”‚ kubectx   โ”‚ v0.9.4  โ”‚ https://github.com/ahmetb/kubectx    โ”‚
โ””โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ดโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ดโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”˜    
```

#### Remove installed release

```bash
# Remove installed release

โฏ ir rm gron
    
INFO     Removed: gron           
```

#### Update all previously installed tools to the latest version

```bash
โฏ ir upgrade

Fetching: https://github.com/tenable/terrascan#terrascan
Fetching: https://github.com/ahmetb/kubectx#kubectx

Following tools will be upgraded:

terrascan

Upgrade these tools, (Y/n): y

Updating: terrascan, v1.15.0 => v1.15.2
 INFO     Downloaded: 'terrascan_1.15.2_Linux_x86_64.tar.gz' at /tmp/dn_terrascan_0as71a6v
 INFO     install /tmp/dn_terrascan_0as71a6v/terrascan ~/bin/terrascan
 INFO     Installed: terrascan

Progress... โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ” 100% 0:00:00 
```

#### Pull state templates for installing tools.

You can push your state to somewhere like GitHub and use it for any other device, to make a sync for tools installed via ir

```bash
โฏ ir pull --url https://raw.githubusercontent.com/Rishang/dotFiles/main/templates/install-release/state.json
```
 
#### Hold Update to specific installed tool.

In case you want to hold an update to the specific tool, you can use `hold {tool-name}` command which will pause update for that tool.

Example: keep tool named [k9s](https://github.com/derailed/k9s) update on hold

```bash
โฏ ir hold k9s
 INFO     Update on hold for, k9s to True
```

You can list tools on hold updates  by `ls --hold` command

```bash
โฏ ir ls --hold
             Installed tools kept on hold             
โ”โ”โ”โ”โ”โ”โ”โ”ณโ”โ”โ”โ”โ”โ”โ”โ”โ”โ”ณโ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”“
โ”ƒ Name โ”ƒ Version โ”ƒ Url                               โ”ƒ
โ”กโ”โ”โ”โ”โ”โ”โ•‡โ”โ”โ”โ”โ”โ”โ”โ”โ”โ•‡โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”ฉ
โ”‚ k9s  โ”‚ v0.26.7 โ”‚ https://github.com/derailed/k9s   โ”‚
โ””โ”€โ”€โ”€โ”€โ”€โ”€โ”ดโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ดโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”˜
```

In case you want to unhold update to the specific tool, you can use `hold --unset {tool-name}` command by which it will pause update for that tool.

```
โฏ ir hold --unset k9s
 INFO     Update on hold for, k9s to False
```

#### Config tool installation path

```bash
โฏ ir config --path ~/.local/bin

INFO   updated path to:  ~/.local/bin
INFO   Done
```

#### Config updates for pre-release versions

This is useful when you want to install pre-release versions of tools like beta or alpha releases. By default, it is set to `False` in which case it will only check for latest release.

```bash
โฏ ir config --pre-release
```

#### Configure GitHub token for higher rate limit



```bash
โฏ ir config --token [your github token]

INFO: Update token
INFO: Done.
```

            

Raw data

            {
    "_id": null,
    "home_page": "https://github.com/Rishang/install-release",
    "name": "install-release",
    "maintainer": null,
    "docs_url": null,
    "requires_python": "<4.0,>=3.8",
    "maintainer_email": null,
    "keywords": null,
    "author": "Rishang",
    "author_email": "rishangbhavsarcs@gmail.com",
    "download_url": "https://files.pythonhosted.org/packages/95/8f/ba7bb4b79a0d54b4b3d37197d730094e4bcb4ebe0280bf0aa1a4a0a485c9/install_release-0.4.4.tar.gz",
    "platform": null,
    "description": "# Install Release \ud83d\ude80\n[![Python Version](https://img.shields.io/badge/Python-3.8_to_3.11-xx.svg)](https://shields.io/) [![Downloads](https://static.pepy.tech/personalized-badge/ir?period=total&units=international_system&left_color=black&right_color=orange&left_text=Downloads)](https://pepy.tech/project/ir)\n\n\n`ir` is a CLI tool to install any tool for your device directly from their GitHub releases and keep them updated. Consider it as a small package manager to install tools from GitHub releases.\n\nThis can be any tool you want to install, which is pre-compiled for your device and present on GitHub releases.\n\n> INFO: It's mainly for installing tools that are not directly available officially by package managers like `apt, yum, pacman, brew` etc.\n\n\n<!-- Table of content -->\n## Table of Contents\n- [Install Release \ud83d\ude80](#install-release-)\n  - [Table of Contents](#table-of-contents)\n  - [Getting started](#getting-started)\n  - [Prerequisites](#prerequisites)\n  - [Install `install-release` package](#install-install-release-package)\n  - [Updating `install-release`](#updating-install-release)\n  - [Example usage `ir --help`](#example-usage-ir---help)\n      - [Install completion for cli](#install-completion-for-cli)\n      - [Install tool from GitHub releases](#install-tool-from-github-releases)\n      - [List installed tools](#list-installed-tools)\n      - [Remove installed release](#remove-installed-release)\n      - [Update all previously installed tools to the latest version](#update-all-previously-installed-tools-to-the-latest-version)\n      - [Pull state templates for installing tools.](#pull-state-templates-for-installing-tools)\n      - [Hold Update to specific installed tool.](#hold-update-to-specific-installed-tool)\n      - [Config tool installation path](#config-tool-installation-path)\n      - [Config updates for pre-release versions](#config-updates-for-pre-release-versions)\n      - [Configure GitHub token for higher rate limit](#configure-github-token-for-higher-rate-limit)\n\n## Getting started\n\n\n```bash\n# Install ir\npip install -U ir\n```\n\n```\n# Example Installation a tool named `gron` directly from its GitHub releases\n\n# ir get [GITHUB-URL]\n\n\u276f ir get https://github.com/tomnomnom/gron \n```\n\n![demo](https://raw.githubusercontent.com/Rishang/install-release/main/.github/images/demo.png)\n\n\nChecking for gron is installed by `install-release`:\n\n```\n\u276f which gron\n/home/noobi/bin/gron\n\n\u276f gron --help\nTransform JSON (from a file, URL, or stdin) into discrete assignments to make it greppable\n... # more\n```\n\n\n## Prerequisites\n\n- python3.8 or higher\n\n- [libmagic](https://github.com/ahupp/python-magic#installation)\n- Default releases Installation Path is: `~/bin/`,\nThis is the path where installed tools will get stored.\n\n- In order to run installed tools, you need to add the following line to your `~/.bashrc` or `~/.zshrc` file:\n\n```bash\nexport PATH=$HOME/bin:$PATH\n```\n\n\n## Install `install-release` package\n\n```bash\npip install -U install-release\n```\n\n## Updating `install-release`\n\nFor seeing version:\n```bash\nir me --version\n```\n\nFor updating:\n```bash\nir me --upgrade\n```\n\n## Example usage `ir --help`\n\n\n```\n# Help page\n\n\u276f ir --help\nUsage: ir [OPTIONS] COMMAND [ARGS]...\n\n  GitHub Release Installer, based on your system\n\n  Commands:\n    get      | Install GitHub release, cli tool\n    ls       | list all installed releases, cli tools\n    rm       | remove any installed release, cli tools\n    upgrade  | Upgrade all installed releases, cli tools\n    state    | show currently stored state\n    config   | Set configs for tool\n    pull     | Install tools from a remote state\n    hold     | Keep updates a tool on hold.\n    me       | Update ir tool.\n```\n\nFor sub-command help use: `ir <sub-command> --help`\n\nExample: `ir get --help`\n\n#### Install completion for cli\n```bash\n# ir --install-completion [SHELL: bash|zsh|fish|powershell]\n# Example for zsh:\nir --install-completion zsh\n```\n\n#### Install tool from GitHub releases\n\n```bash\n\u276f ir get \"https://github.com/ahmetb/kubectx\"\n\n\ud83d\udcd1 Repo     : ahmetb/kubectx\n\ud83c\udf1f Stars    : 13295\n\u2728 Language : Go\n\ud83d\udd25 Title    : Faster way to switch between clusters and namespaces in kubectl\n\n                              \ud83d\ude80 Install: kubectx                               \n\u250f\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2533\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2533\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2533\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2533\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2513\n\u2503 Name    \u2503 Selected Item                      \u2503 Version \u2503 Size Mb \u2503 Downloads \u2503\n\u2521\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2547\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2547\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2547\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2547\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2529\n\u2502 kubectx \u2502 kubectx_v0.9.4_linux_x86_64.tar.gz \u2502 v0.9.4  \u2502 1.0     \u2502 43811     \u2502\n\u2514\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2534\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2534\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2534\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2534\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2518\nInstall this tool (Y/n): y\n INFO     Downloaded: 'kubectx_v0.9.4_linux_x86_64.tar.gz' at /tmp/dn_kubectx_ph6i7dmk                                                               utils.py:159\n INFO     install /tmp/dn_kubectx_ph6i7dmk/kubectx /home/noobi/bin/kubectx                                                                  core.py:132\n INFO     Installed: kubectx\n```\n```\n# checking if kubectx is installed\n\u276f which kubectx\n/home/noobi/bin/kubectx\n\n\u276f kubectx --version\n0.9.4\n```\n\n#### List installed tools\n\n```bash\n\u276f ir ls\n\n                       Installed tools                        \n\u250f\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2533\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2533\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2513\n\u2503 Name      \u2503 Version \u2503 Url                                  \u2503\n\u2521\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2547\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2547\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2529\n\u2502 terrascan \u2502 v1.15.2 \u2502 https://github.com/tenable/terrascan \u2502\n\u2502 gron      \u2502 v0.7.1  \u2502 https://github.com/tomnomnom/gron    \u2502\n\u2502 kubectx   \u2502 v0.9.4  \u2502 https://github.com/ahmetb/kubectx    \u2502\n\u2514\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2534\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2534\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2518    \n```\n\n#### Remove installed release\n\n```bash\n# Remove installed release\n\n\u276f ir rm gron\n    \nINFO     Removed: gron           \n```\n\n#### Update all previously installed tools to the latest version\n\n```bash\n\u276f ir upgrade\n\nFetching: https://github.com/tenable/terrascan#terrascan\nFetching: https://github.com/ahmetb/kubectx#kubectx\n\nFollowing tools will be upgraded:\n\nterrascan\n\nUpgrade these tools, (Y/n): y\n\nUpdating: terrascan, v1.15.0 => v1.15.2\n INFO     Downloaded: 'terrascan_1.15.2_Linux_x86_64.tar.gz' at /tmp/dn_terrascan_0as71a6v\n INFO     install /tmp/dn_terrascan_0as71a6v/terrascan ~/bin/terrascan\n INFO     Installed: terrascan\n\nProgress... \u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501 100% 0:00:00 \n```\n\n#### Pull state templates for installing tools.\n\nYou can push your state to somewhere like GitHub and use it for any other device, to make a sync for tools installed via ir\n\n```bash\n\u276f ir pull --url https://raw.githubusercontent.com/Rishang/dotFiles/main/templates/install-release/state.json\n```\n \n#### Hold Update to specific installed tool.\n\nIn case you want to hold an update to the specific tool, you can use `hold {tool-name}` command which will pause update for that tool.\n\nExample: keep tool named [k9s](https://github.com/derailed/k9s) update on hold\n\n```bash\n\u276f ir hold k9s\n INFO     Update on hold for, k9s to True\n```\n\nYou can list tools on hold updates  by `ls --hold` command\n\n```bash\n\u276f ir ls --hold\n             Installed tools kept on hold             \n\u250f\u2501\u2501\u2501\u2501\u2501\u2501\u2533\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2533\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2513\n\u2503 Name \u2503 Version \u2503 Url                               \u2503\n\u2521\u2501\u2501\u2501\u2501\u2501\u2501\u2547\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2547\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2529\n\u2502 k9s  \u2502 v0.26.7 \u2502 https://github.com/derailed/k9s   \u2502\n\u2514\u2500\u2500\u2500\u2500\u2500\u2500\u2534\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2534\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2518\n```\n\nIn case you want to unhold update to the specific tool, you can use `hold --unset {tool-name}` command by which it will pause update for that tool.\n\n```\n\u276f ir hold --unset k9s\n INFO     Update on hold for, k9s to False\n```\n\n#### Config tool installation path\n\n```bash\n\u276f ir config --path ~/.local/bin\n\nINFO   updated path to:  ~/.local/bin\nINFO   Done\n```\n\n#### Config updates for pre-release versions\n\nThis is useful when you want to install pre-release versions of tools like beta or alpha releases. By default, it is set to `False` in which case it will only check for latest release.\n\n```bash\n\u276f ir config --pre-release\n```\n\n#### Configure GitHub token for higher rate limit\n\n\n\n```bash\n\u276f ir config --token [your github token]\n\nINFO: Update token\nINFO: Done.\n```\n",
    "bugtrack_url": null,
    "license": null,
    "summary": "Simple package manager to easily install, update and manage any command-line(CLI) tool directly from github releases",
    "version": "0.4.4",
    "project_urls": {
        "Homepage": "https://github.com/Rishang/install-release"
    },
    "split_keywords": [],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "9b6c834f5bd216bf789e1149059c52060a3964f21527f290c39883b6bf952453",
                "md5": "bf5b1be2aef8f2c9f1e44234b3cd0870",
                "sha256": "3bf61f3be0d6c49de4788236a9fa470376db849dd241989eb113d358395096f8"
            },
            "downloads": -1,
            "filename": "install_release-0.4.4-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "bf5b1be2aef8f2c9f1e44234b3cd0870",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": "<4.0,>=3.8",
            "size": 30343,
            "upload_time": "2024-06-20T10:23:52",
            "upload_time_iso_8601": "2024-06-20T10:23:52.326811Z",
            "url": "https://files.pythonhosted.org/packages/9b/6c/834f5bd216bf789e1149059c52060a3964f21527f290c39883b6bf952453/install_release-0.4.4-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "958fba7bb4b79a0d54b4b3d37197d730094e4bcb4ebe0280bf0aa1a4a0a485c9",
                "md5": "84597d1e7854b2f7bb6219e76acf3ac7",
                "sha256": "1be16e18d3a123568a0619956cca2c17a10f2ee3c2ccc8e14c8192f55c285e4d"
            },
            "downloads": -1,
            "filename": "install_release-0.4.4.tar.gz",
            "has_sig": false,
            "md5_digest": "84597d1e7854b2f7bb6219e76acf3ac7",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": "<4.0,>=3.8",
            "size": 26986,
            "upload_time": "2024-06-20T10:23:53",
            "upload_time_iso_8601": "2024-06-20T10:23:53.987243Z",
            "url": "https://files.pythonhosted.org/packages/95/8f/ba7bb4b79a0d54b4b3d37197d730094e4bcb4ebe0280bf0aa1a4a0a485c9/install_release-0.4.4.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2024-06-20 10:23:53",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "Rishang",
    "github_project": "install-release",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": true,
    "lcname": "install-release"
}
        
Elapsed time: 1.39465s