<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://gswiki.play.net/index.php?action=history&amp;feed=atom&amp;title=Lich%3ASoftware%2FInstallation%2FUpgrading</id>
	<title>Lich:Software/Installation/Upgrading - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://gswiki.play.net/index.php?action=history&amp;feed=atom&amp;title=Lich%3ASoftware%2FInstallation%2FUpgrading"/>
	<link rel="alternate" type="text/html" href="https://gswiki.play.net/index.php?title=Lich:Software/Installation/Upgrading&amp;action=history"/>
	<updated>2026-11-14T22:06:07Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.39.12</generator>
	<entry>
		<id>https://gswiki.play.net/index.php?title=Lich:Software/Installation/Upgrading&amp;diff=267886&amp;oldid=prev</id>
		<title>HORIBU1: Move upgrade instructions to their own page</title>
		<link rel="alternate" type="text/html" href="https://gswiki.play.net/index.php?title=Lich:Software/Installation/Upgrading&amp;diff=267886&amp;oldid=prev"/>
		<updated>2026-11-14T17:38:55Z</updated>

		<summary type="html">&lt;p&gt;Move upgrade instructions to their own page&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;{{3rd-party}}&lt;br /&gt;
{{Lich install nav}}&lt;br /&gt;
Use this page if Lich 5 is already installed and you want the newest version of Lich, Ruby or both. The current release is &amp;#039;&amp;#039;&amp;#039;Lich {{Lich version}}&amp;#039;&amp;#039;&amp;#039;, which needs &amp;#039;&amp;#039;&amp;#039;Ruby {{Lich version|ruby-series}}&amp;#039;&amp;#039;&amp;#039; or newer.&lt;br /&gt;
&lt;br /&gt;
New to Lich? Start with the [[Lich:Software/Installation|installation guides]] instead.&lt;br /&gt;
&amp;lt;span id=&amp;quot;In-Place_Upgrade&amp;quot;&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Before you start==&lt;br /&gt;
# &amp;#039;&amp;#039;&amp;#039;Check what you have.&amp;#039;&amp;#039;&amp;#039; In the game, with Lich running, enter:&lt;br /&gt;
#* &amp;lt;code&amp;gt;;e echo LICH_VERSION&amp;lt;/code&amp;gt; &amp;amp;mdash; your Lich version&lt;br /&gt;
#* &amp;lt;code&amp;gt;;e echo RUBY_VERSION&amp;lt;/code&amp;gt; &amp;amp;mdash; your Ruby version&lt;br /&gt;
# &amp;#039;&amp;#039;&amp;#039;Back up your Lich5 folder&amp;#039;&amp;#039;&amp;#039;, especially the &amp;lt;code&amp;gt;data&amp;lt;/code&amp;gt; folder inside it, which holds your saved logins and settings.&lt;br /&gt;
# Pick the section that matches:&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
! You have !! Do this&lt;br /&gt;
|-&lt;br /&gt;
| Lich 5.7 or newer &amp;#039;&amp;#039;&amp;#039;and&amp;#039;&amp;#039;&amp;#039; Ruby {{Lich version|ruby-series}} or newer || [[#Update_Lich_only|Update Lich only]]&lt;br /&gt;
|-&lt;br /&gt;
| Ruby older than {{Lich version|ruby-series}} (any Lich 5) on Windows || [[#Windows:_update_Ruby_and_Lich_together|Windows: update Ruby and Lich together]]&lt;br /&gt;
|-&lt;br /&gt;
| Ruby older than {{Lich version|ruby-series}} on macOS or Linux || [[#macOS_and_Linux:_update_Ruby|macOS and Linux: update Ruby]], then [[#Update_Lich_only|update Lich]]&lt;br /&gt;
|-&lt;br /&gt;
| Lich 5.6 or older || Windows: [[#Windows:_update_Ruby_and_Lich_together|update Ruby and Lich together]]. macOS and Linux: [[#macOS_and_Linux:_update_Ruby|update Ruby]], then download Lich again as in your installation guide&lt;br /&gt;
|-&lt;br /&gt;
| Lich 4 || [[#Moving_from_Lich_4|Moving from Lich 4]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==Update Lich only==&lt;br /&gt;
&amp;lt;span id=&amp;quot;Lich_5_Only&amp;quot;&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;span id=&amp;quot;Lich_5.7_or_newer&amp;quot;&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
For Lich 5.7 or newer, on any operating system. Lich 5.19 and newer needs Ruby {{Lich version|ruby-series}} or newer, so update Ruby first if yours is older.&lt;br /&gt;
# Back up your Lich5 folder.&lt;br /&gt;
# In the game, enter: &amp;lt;code&amp;gt;;lich5-update --update&amp;lt;/code&amp;gt;&lt;br /&gt;
# Quit and restart Lich.&lt;br /&gt;
&lt;br /&gt;
You are now running the latest version of Lich.&lt;br /&gt;
&lt;br /&gt;
==Windows: update Ruby and Lich together==&lt;br /&gt;
&amp;lt;span id=&amp;quot;Both_Ruby_4.0_&amp;amp;_Lich_5&amp;quot;&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;span id=&amp;quot;Lich_5.6_or_older&amp;quot;&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
This reinstalls both with the Ruby4Lich5 installer. It is for Windows only.&lt;br /&gt;
# Log out of all characters.&lt;br /&gt;
# Back up your Lich5 folder.&lt;br /&gt;
# Uninstall your existing Ruby4Lich5 from &amp;#039;&amp;#039;Settings &amp;amp;rarr; Apps&amp;#039;&amp;#039; (or &amp;#039;&amp;#039;Programs and Features&amp;#039;&amp;#039;). Alternatively, rename the existing &amp;lt;code&amp;gt;C:\Ruby4Lich5&amp;lt;/code&amp;gt; folder to &amp;lt;code&amp;gt;C:\Ruby4Lich5save&amp;lt;/code&amp;gt;.&lt;br /&gt;
# Download the latest [https://github.com/elanthia-online/lich-5/releases/latest/download/Ruby4Lich5.exe Ruby4Lich5.exe installer].&lt;br /&gt;
# Run the installer with both &amp;#039;&amp;#039;&amp;#039;Ruby&amp;#039;&amp;#039;&amp;#039; and &amp;#039;&amp;#039;&amp;#039;Lich 5&amp;#039;&amp;#039;&amp;#039; selected.&lt;br /&gt;
&lt;br /&gt;
You are now running the latest Lich and Ruby.&lt;br /&gt;
&lt;br /&gt;
==Windows: update Ruby only==&lt;br /&gt;
&amp;lt;span id=&amp;quot;Ruby_4.0_Only&amp;quot;&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
Use this when Lich is already the latest version and only Ruby needs updating. If Lich is not already the latest version, use [[#Windows:_update_Ruby_and_Lich_together|update Ruby and Lich together]] instead.&lt;br /&gt;
# Log out of all characters.&lt;br /&gt;
# Back up your Lich5 folder.&lt;br /&gt;
# Uninstall your existing Ruby4Lich5 from &amp;#039;&amp;#039;Settings &amp;amp;rarr; Apps&amp;#039;&amp;#039; (or &amp;#039;&amp;#039;Programs and Features&amp;#039;&amp;#039;), and check that &amp;lt;code&amp;gt;C:\Ruby4Lich5&amp;lt;/code&amp;gt; is gone.&lt;br /&gt;
# Download the latest [https://github.com/elanthia-online/lich-5/releases/latest/download/Ruby4Lich5.exe Ruby4Lich5.exe installer].&lt;br /&gt;
# Run the installer and choose &amp;#039;&amp;#039;&amp;#039;Ruby only&amp;#039;&amp;#039;&amp;#039;.&lt;br /&gt;
&lt;br /&gt;
You are now running the latest Ruby.&lt;br /&gt;
&lt;br /&gt;
==macOS and Linux: update Ruby==&lt;br /&gt;
On macOS and Linux, Ruby is installed with rbenv, so you update it with rbenv. Gems belong to one Ruby version, so after installing a new Ruby you must run &amp;lt;code&amp;gt;bundle install&amp;lt;/code&amp;gt; again.&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;1.&amp;#039;&amp;#039;&amp;#039; Log out of all characters, and back up your Lich5 folder.&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;2.&amp;#039;&amp;#039;&amp;#039; Update ruby-build so it knows about the newest Ruby versions:&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;macOS&amp;#039;&amp;#039;&amp;#039; (Homebrew): &amp;lt;code&amp;gt;brew upgrade rbenv ruby-build&amp;lt;/code&amp;gt;&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;Linux&amp;#039;&amp;#039;&amp;#039;: &amp;lt;code&amp;gt;git -C ~/.rbenv/plugins/ruby-build pull&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;3.&amp;#039;&amp;#039;&amp;#039; Install the new Ruby and make it the default:&lt;br /&gt;
{{#tag:pre|&lt;br /&gt;
rbenv install {{Lich version|ruby}}&lt;br /&gt;
rbenv global {{Lich version|ruby}}&lt;br /&gt;
ruby -v&lt;br /&gt;
}}&lt;br /&gt;
The last command should print a line that starts with &amp;lt;code&amp;gt;ruby {{Lich version|ruby}}&amp;lt;/code&amp;gt;. If not, open a new terminal and try again.&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;4.&amp;#039;&amp;#039;&amp;#039; Reinstall Lich&amp;#039;s gems for the new Ruby. Use the block for your system; if you put Lich somewhere else, change the &amp;lt;code&amp;gt;cd&amp;lt;/code&amp;gt; line to your Lich folder.&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;macOS&amp;#039;&amp;#039;&amp;#039; (Lich on your Desktop, as in the [[Lich:Software/Installation/macOS|macOS guide]]):&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cd ~/Desktop/Lich5&lt;br /&gt;
bundle config set --local without &amp;#039;development vscode&amp;#039;&lt;br /&gt;
bundle install&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Linux&amp;#039;&amp;#039;&amp;#039; (Lich in your home folder, as in the [[Lich:Software/Installation/Linux|Linux guide]]):&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cd ~/Lich5&lt;br /&gt;
bundle config set --local without &amp;#039;development vscode&amp;#039;&lt;br /&gt;
bundle install&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;5.&amp;#039;&amp;#039;&amp;#039; If Saga asks where Ruby is, give it the new path that &amp;lt;code&amp;gt;rbenv which ruby&amp;lt;/code&amp;gt; prints.&lt;br /&gt;
&lt;br /&gt;
Then [[#Update_Lich_only|update Lich]] if it is not already the latest version.&lt;br /&gt;
&lt;br /&gt;
==Moving from Lich 4==&lt;br /&gt;
&amp;lt;span id=&amp;quot;Upgrade_Installation_for_Lich_5_from_Lich_4_(11/14/2023)&amp;quot;&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
Lich 5 cannot use a Lich 4 installation, so there is no in-place upgrade. Back up your Lich 4 folder, uninstall any existing Ruby, then follow the [[Lich:Software/Installation|installation guide]] for your computer as a new install.&lt;br /&gt;
&lt;br /&gt;
==Getting help==&lt;br /&gt;
Ask in the #scripting or #help channel of the [https://discord.gg/KF9Wr8u GemStone IV Discord].&lt;br /&gt;
&lt;br /&gt;
{{Third-Party Software}}&lt;br /&gt;
[[Category:New Player]]&lt;/div&gt;</summary>
		<author><name>HORIBU1</name></author>
	</entry>
</feed>