Skip to content

Add bash/powershell snippets for easy installation #40

@DamianEdwards

Description

@DamianEdwards

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:

  1. Download latest version from github releases
  2. Verify signature/SHA whatever of downloaded bits
  3. 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
  4. Stretch goal: update toasty executable itself to detect availability of new version and do background download/update for next run (evergreen)

Metadata

Metadata

Labels

No labels
No labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions