Skip to content

brewcoua/jb

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

brewcoua/jb

This is a simple, unofficial CLI for installing, updating and configuring JetBrains IDEs from the command line.

Installation

Either download the latest release from the releases page or build it yourself using cargo build --release.

Usage

USAGE:
    jb [FLAGS] [OPTIONS] [SUBCOMMAND]

FLAGS:
    -h, --help                      Print help
    -V, --version                   Print version
    -v, --verbose                   Enable verbose logging (JB_VERBOSE)
    -n, --notify                    Enable desktop notifications (enabled in non-tty)

OPTIONS:
        --tools-dir <tools-dir>     The directory to install tools to (JB_TOOLS_DIR)
        --icons-dir <icons-dir>     The directory to link icons to (JB_ICONS_DIR)
        --bin-dir <bin-dir>         The directory to link binaries to (JB_BINARIES_DIR)

SUBCOMMANDS:
    install    Install a JetBrains tool
    uninstall  Uninstall a JetBrains tool
    list       List installed JetBrains tools
    link       Link a JetBrains tool to the PATH
    unlink     Unlink a JetBrains tool from the PATH
    desktop    Create or update the desktop entries for installed tools
    auto       Manage automatic updates for tools
    update     Update the CLI to the latest version
    cd         Open a new shell in the tools directory
    info       Print information about the current environment and available tools
    meta       Print metadata about the current environment and available tools in JSON format
    help       Print help

Some flags and options can be set using environment variables, which are listed here.

Disclaimer

This is not an official JetBrains project. I am not affiliated with JetBrains in any way. This is just a simple script I wrote to make my life easier. I am not responsible for any damage this script may cause. Use at your own risk.

FAQ

  1. I don't see my IDE in the list of available IDEs. What do I do?
    • You can create an issue on GitHub and I will add it to the list.
    • Some IDEs are not available because they do not offer a linux version (e.g. ReSharper).

License

This project is licensed under either of the following, at your option:

Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in this project by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.