cask-pkg
cask.rs
Rust

A universal, distributed binary file manager. 一个通用的去中心化二进制管理器

Last updated May 16, 2026
93
Stars
4
Forks
6
Issues
0
Stars/day
Attention Score
33
Language breakdown
Rust 94.9%
Shell 3.0%
PowerShell 1.7%
Makefile 0.2%
Batchfile 0.1%
Files click to expand
README

English | 中文简体

Cask

installation lint test build Latest Version License Repo Size

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.

Cross Platform support

  • [x] macOS(x86_64/arm64)
  • [x] Windows(i686/x86_64/arm64/MSYS2/Cygin/WSL)
  • [x] Linux(arm/arm64/x86_64)
  • [x] freeBSD(x86_64)

Installation

  • Shell (Mac/Linux)
curl -fsSL https://raw.githubusercontent.com/cask-pkg/cask.rs/main/install.sh | bash
  • PowerShell (Windows):
iwr https://raw.githubusercontent.com/cask-pkg/cask.rs/main/install.ps1 -useb | iex
Download the executable, then put it in the $PATH directory.
  • Upgrade from existing version
cask self-update

try running following command

$ cask --help
cask v0.4.6
Axetroy <axetroy.dev@gmail.com>
General distributed binary distribution package management, written in Rust.

USAGE: cask <SUBCOMMAND>

OPTIONS: -h, --help Print help information -V, --version Print version information

SUBCOMMANDS: check-updates Check and update packages to latest [aliases: check-upgrades] clean Clear residual data [aliases: clear] help Print this message or the help of the given subcommand(s) homepage Open homepage of package [aliases: home] info Show information of package install Install package [aliases: i] list List installed package [aliases: ls] relink Relink installed packages remote Operation for build-in formula self-uninstall Uninstall cask itself and installed package self-update Update Cask to the newest version [aliases: self-upgrade] uninstall Uninstall package [aliases: rm] update Upgrade package to latest [aliases: upgrade]

Usage

# cask install <package>
cask install github.com/axetroy/dvm

cask install <package> <version>

cask install github.com/axetroy/dvm 1.x

cask install <repository URL>

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 <package or the executable file name of the package>

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 \ [VERSION] | Install package | | cask uninstall \ | Uninstall package | | cask info \ | Show information of package | | cask update \ | Update package to latest | | cask homepage \ | Open homepage of package | | 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 self-uninstall | Uninstall cask itself and installed package | | cask remote sync | Sync build-in formula from remote to local | | cask remote list | List build-in formula on remote |

Requirement

Cask depends on Git

Contributors

This project exists thanks to all the people who contribute. How to contribute.

LICENSE

The MIT License

🔗 More in this category

© 2026 GitRepoTrend · cask-pkg/cask.rs · Updated daily from GitHub