Skip to content

Bert ๐Ÿ• is a friendly package assistant that leverages Homebrew's package repository to provide cross-platform package management. He automatically handles installation of missing commands and manages Homebrew installations. Heavily inspired by Bert Solana's #1 dog Bertram the Pomeranian!

License

Notifications You must be signed in to change notification settings

michaelessiet/bert-cli

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

32 Commits
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

BERT-CLI

Overview

BERT-CLI is a friendly cross-platform package assistant built on top of Homebrew. It leverages Homebrew's extensive package repository to provide seamless package management across different operating systems. BERT-CLI automatically handles the installation of missing commands and manages Homebrew installations, making it easier for users to manage their software packages from the command line.

Features

  • Automatic Command Installation: Automatically installs missing commands using Homebrew.
  • Cross-Platform Support: Works on Windows, macOS, and Linux.
  • Package Management: Install, uninstall, update, and search for packages.
  • Homebrew Integration: Leverages Homebrew's package repository for managing software.

Installation

# Download the binary for MacOS
curl -L -o /usr/local/bin/bert "https://github.com/michaelessiet/bert-cli/releases/download/v0.1.4/bert-darwin-amd64"

# Make it executable
chmod +x /usr/local/bin/bert

Usage

Once installed, you can use BERT-CLI from your terminal. Below are some examples of how to use the tool for different tasks:

Install a Package

bert install <package_name>

# Installing node packages
bert install --node typescript

Uninstall a Package

bert uninstall <package_name>

# Uninstalling node packages
bert uninstall --node typescript

Update Installed Packages

bert update

# Updating node packages
bert update --node

Search for a Package

bert search <query>

# Updating node packages
bert search --node typescript

List Installed Packages

bert list

# List node packages
bert list --node

Install a Cask

bert install --cask firefox

Backup Installed Packages to JSON

# backs up to ~/.bert/backups/
bert backup

# backs up to a custom location
bert backup -o /path/to/backup.json

Restore Installed Packages from JSON

# backup from ~/.bert/backups/
bert restore

# backup from a custom location
bert restore /path/to/backup.json

Execute a Command

If a command is not found, BERT-CLI will attempt to install it using Homebrew:

bert <command> [args...]

Update Bert

bert self-update

Configuration

BERT-CLI does not require any specific configuration. It automatically detects the platform and manages Homebrew installations accordingly.

Contributing

We welcome contributions to BERT-CLI! If you have any ideas, suggestions, or bug reports, please open an issue or submit a pull request on our GitHub repository.

License

BERT-CLI is licensed under the MIT License. See the LICENSE file for more details.

Acknowledgements

This project leverages the Homebrew package manager and is inspired by the advancements in cross-platform package management. It is also heavily inspired by Bert the Pomeranian, and its web3 community.

About

Bert ๐Ÿ• is a friendly package assistant that leverages Homebrew's package repository to provide cross-platform package management. He automatically handles installation of missing commands and manages Homebrew installations. Heavily inspired by Bert Solana's #1 dog Bertram the Pomeranian!

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages