There's no simple way to install toasty right now. Short of package managers like winget, etc., it would be great to have the usual one line bash/powershell snippet to download and install toasty, e.g. irm https://toasty.dev/install.ps1 | iex. It would do something like:
- Download latest version from github releases
- Verify signature/SHA whatever of downloaded bits
- Do the following in appropriate manner depending on whether it's a new install or upgrade:
a. Create ~/.toasty directory and copy exe there
b. Detect shell type and update profile to add ~/.toasty to PATH
c. Add ~/.toasty to current session PATH (if possible, depends on how the script is authored/executed blah blah)
d. Print success/failure message
- Stretch goal: update toasty executable itself to detect availability of new version and do background download/update for next run (evergreen)
There's no simple way to install toasty right now. Short of package managers like winget, etc., it would be great to have the usual one line bash/powershell snippet to download and install toasty, e.g.
irm https://toasty.dev/install.ps1 | iex. It would do something like:a. Create
~/.toastydirectory and copy exe thereb. Detect shell type and update profile to add
~/.toastyto PATHc. Add
~/.toastyto current session PATH (if possible, depends on how the script is authored/executed blah blah)d. Print success/failure message