Skip to content

tu is a tiny 🀏🏾 wrapper for your package πŸ“¦ manager. It'll make managing πŸ–‡οΈ your packages fun 😊 again!

License

Notifications You must be signed in to change notification settings

mistweaverco/tu

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

14 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

tu

tu is a tiny 🀏🏾 wrapper for your package πŸ“¦ manager.

It'll make managing πŸ–‡οΈ your packages fun 😊 again!


Why? β€’ Install β€’ Usage


Tu is swahili.

It means only, just and simply which all describe this package manager wrapper perfectly.


Go GitHub release (latest by date)

GitHub Workflow Build Status GitHub Workflow Lint Status codecov

Why

Why not simply use aptitute, brew or choco?

I wanted to have a simple package manager wrapper that I can use to install, remove and update packages from the command line.

If I switch to a different OS/Distro, I can simply continue using tu with the new package manager.

Install

Grab the latest, greatest and hottest release from the releases page,

or use the following commands depending on your OS:

Install on Linux

On linux you can use curl command to execute the install script directly.

/bin/bash $(curl -fsSL https://raw.githubusercontent.com/mistweaverco/tu/HEAD/install.sh)

Install on macOS

On macOS you can use curl command to execute the install script directly.

/bin/zsh $(curl -fsSL https://raw.githubusercontent.com/mistweaverco/tu/HEAD/install.sh)

Install on Windows

Note

To be honest I don't know if package management is a "real" thing on Windows, but if it is, you can use tu as a wrapper for your choco?!

On Windows you can use the powershell to execute the install script directly.

Invoke-WebRequest -Uri https://raw.githubusercontent.com/mistweaverco/tu/HEAD/install.ps1 -OutFile tu-install.ps1 | .\tu-install.ps1

Usage

On the command line you can use tu to install, remove and update packages.

Install a package

You can install a package by using the tu a command.

Tip

Aliases for the a subcommand are add, i, install and get.

# Install neovim and zsh
tu a neovim zsh

Note

If you want to install the packages via Homebrew, you can pass the -b or --brew flag to tu a. This only works on macOS and Linux.

Tip

Maybe you want to update the mirrors before installing packages. Easy peasy, just pass the -s or --sync flag to tu a.

# Update the mirrors and install neovim and zsh
tu a -s neovim zsh

Note

If you want to sync via Homebrew, you can pass the -b or --brew flag to tu a. This only works on macOS and Linux.

Remove a package

You can remove a package by using the tu d command.

Tip

Aliases for the d subcommand are remove, uninstall, rm, delete and del.

# Remove a neovim and zsh
tu d neovim zsh

Note

If you want to delete a package from Homebrew, you can pass the -b or --brew flag to tu a. This only works on macOS and Linux.

Update all packages

You can update all packages by using the tu u command.

Tip

Aliases for the u subcommand are update, upgrade and up.

# Update all packages
tu u

Note

If you want to update all packages installed via Homebrew, you can pass the -b or --brew flag to tu a. This only works on macOS and Linux.

Tip

Maybe you want to update the mirrors before updating all packages. Easy peasy, just pass the -s or --sync flag to tu u.

Search for a package

You can search for a package by using the tu q command.

Tip

Aliases for the q subcommand are query and search.

# Search for a package called flameshot
tu q flameshot

Note

If you want to search for a package via Homebrew, you can pass the -b or --brew flag to tu q. This only works on macOS and Linux.

Tip

Maybe you want to update the mirrors before searching for a package. Easy peasy, just pass the -s or --sync flag to tu q.

About

tu is a tiny 🀏🏾 wrapper for your package πŸ“¦ manager. It'll make managing πŸ–‡οΈ your packages fun 😊 again!

Topics

Resources

License

Stars

Watchers

Forks