Cask
A universal, distributed package manager.
Installation | Usage | How to publish package? | Design | Contributing | Cask.toml
If you are tired of:
- Install different package manager in different platform (Homebrew/Chocolatey/Scoop).
- Writing installation scripts many times(Bash/PowerShell).
- Update remote package information when release a new version
Then welcome to Cask.
Installation
-
Shell (Mac/Linux)
curl -fsSL https://github.com/cask-pkg/cask.rs/raw/main/install.sh | bash
-
PowerShell (Windows):
iwr https://github.com/cask-pkg/cask.rs/raw/main/install.ps1 -useb | iex
-
Download the executable, then put it in the
$PATH
directory. -
Upgrade from existing version
cask self-update
Usage
# cask install
cask install github.com/axetroy/dvm
# cask install
cask install github.com/axetroy/dvm 1.x
# cask install
cask install https://github.com/axetroy/dvm.git
# cask install from stdin
curl https://raw.githubusercontent.com/axetroy/dvm/master/Cask.toml | cask install
# cask uninstall
cask uninstall github.com/axetroy/dvm
# or uninstall with shorter command
cask rm dvm
Show more information with cask --help
command.
Command
Command | Description |
---|---|
cask install |
Install package |
cask uninstall |
Uninstall package |
cask info |
Show information of package |
cask update |
Update package to latest |
cask check-updates | Check and update packages to latest |
cask list | List installed package |
cask clean | Clear residual data |
cask self-update | Update Cask to the newest version |
cask build-in sync | Sync build-in formula from remote |
cask build-in list | List build-in formula |
Requirement
Cask depends on Git
Contributors
This project exists thanks to all the people who contribute. How to contribute.
LICENSE
The MIT License