Documentation
Install cry
Linux / macOS
curl -fsSL https://cry.onrender.com/install.sh | sh
Windows
irm https://cry.onrender.com/install.ps1 | iex
Android (Termux)
pkg install rust git
git clone https://github.com/rushpym-dotcom/cry-backend
cd cry-cli && cargo build --release
cp target/release/cry $PREFIX/bin/
Usage
| Command | Description |
|---|
| cry install <pkg> | Install a package |
| cry add <pkg> | Alias for install |
| cry remove <pkg> | Remove a package |
| cry update [pkg] | Update package(s) |
| cry search <query> | Search the registry |
| cry info <pkg> | Show package details |
| cry init | Create cry.json |
| cry login <token> | Authenticate with token |
| cry logout | Remove stored token |
| cry whoami | Show logged in user |
| cry publish | Publish current package |
Publishing
1. Create an account at cry.onrender.com
2. Go to Dashboard and copy your token
3. cry login <token>
4. cry publish
cry.json
{
"name": "my-package",
"version": "0.1.0",
"description": "My package",
"author": "you",
"license": "MIT",
"dependencies": {}
}