tu is a tiny π€πΎ wrapper for your package π¦ manager.
It'll make managing ποΈ your packages fun π again!
Tu is swahili.
It means only, just and simply which all describe this package manager wrapper perfectly.
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.
Grab the latest, greatest and hottest release from the releases page,
or use the following commands depending on your OS:
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)
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)
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
On the command line you can use tu
to install, remove and update packages.
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.
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.
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
.
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
.