volta-cli / volta

Volta: JS Toolchains as Code. ⚡
https://volta.sh
Other
10.96k stars 230 forks source link

Add an easy way to update volta #269

Open sphinxc0re opened 5 years ago

sphinxc0re commented 5 years ago

NOTE: this issue predates this project's rename to Volta.

rwjblue commented 5 years ago

Totally agree that we need a better solution here!

To date I've been doing:

rm -rf ~/.notion/bin ~/.notion/cache ~/.notion/catalog.toml ~/.notion/config.toml ~/.notion/launchbin ~/.notion/launchscript ~/.notion/load.sh ~/.notion/notion ~/.notion/tmp ~/.notion/tools

And re-running the installer...

rwjblue commented 5 years ago

Just to note, you can actually do the following now:

rm -rf $NOTION_HOME
curl -sSLf https://get.notionjs.com | bash
Stanzilla commented 5 years ago

Think of the Windows users as well, please :)

charlespierce commented 5 years ago

@Stanzilla definitely! The story for upgrades is actually a little more straightforward on Windows, since the installer already has support built-in.

We have a windows installer, but at the moment it’s not signed. We’re looking into getting a code-signing certificate so we can make it a little nicer.

zhaoyao91 commented 3 years ago

hi, what is the progress of this issue?

charlespierce commented 3 years ago

Hi @zhaoyao91, there hasn't been any change: You can update by re-running the installer (either the pre-packaged one for Windows or the install script curl https://get.volta.sh | bash for Linux / MacOS.

chawyehsu commented 3 years ago

If anyone is using volta on Windows, currently there is an easy way to update volta. You can install volta via Scoop, and just type scoop update volta to upgrade. I've been comfortable with it for a few months (since volta 0.8.x).