# README
Jarvis CLI
Jarvis is a powerful and customizable command-line tool designed to assist with daily workstation activities. This CLI tool is written in Go and offers features like updating applications and more.
Features
- Update Applications: Automatically download and install the latest versions of supported applications like Discord and Chrome.
- Cross-Platform: Build and use on Linux systems.
- Extensible: Designed for adding more commands and features in the future.
Installation
Option 1: Install via go install
If you have Go installed, you can install Jarvis CLI directly:
go install github.com/raihankhan/jarvis@latest
Ensure your Go binary directory (e.g., $HOME/go/bin
) is in your PATH
:
export PATH=$PATH:$HOME/go/bin
Verify the installation:
jarvis --help
Option 2: Download Precompiled Binary
-
Visit the Releases page.
-
Download the latest release binary for your platform.
-
Make the binary executable:
chmod +x jarvis
-
Move it to a directory in your
PATH
, such as/usr/local/bin
:sudo mv jarvis /usr/local/bin/
-
Verify installation:
jarvis --help
Option 3: Build from Source
-
Ensure you have Go 1.23 or later installed.
-
Clone this repository:
git clone https://github.com/raihankhan/jarvis.git cd jarvis
-
Build the binary:
go build -o jarvis
-
Move it to a directory in your
PATH
:sudo mv jarvis /usr/local/bin/
-
Verify installation:
jarvis --help
Usage
Jarvis CLI offers the following commands:
- Update Applications:
- Update Discord:
jarvis appupdate discord
- Update Chrome:
jarvis appupdate chrome
- Update Discord:
Run jarvis --help
to see all available commands and options.
Uninstallation
If Installed via go install
- Remove the binary from the Go binary directory:
Or, if using the default Go binary directory:rm $(go env GOPATH)/bin/jarvis
rm $HOME/go/bin/jarvis
If Installed Manually
- Identify the installation path (e.g.,
/usr/local/bin
). - Remove the binary:
sudo rm /usr/local/bin/jarvis
Verify Removal
Run the following command to ensure jarvis
is no longer available:
jarvis --help
If it outputs command not found
, the tool has been successfully uninstalled.
Contributing
- Fork the repository.
- Create a feature branch.
- Commit your changes.
- Open a pull request.
License
This project is licensed under the MIT License. See the LICENSE file for details.
Acknowledgments
- Powered by Go.
- Thanks to the open-source community for inspiration and tools.