Skip to content
This repository has been archived by the owner on Jul 19, 2021. It is now read-only.

How to update Slate to the latest version

Thomas Kelly edited this page Sep 26, 2018 · 1 revision

Slate is currently in beta and is undergoing heavy development, which makes the release cycle much more frequent. You will want to ensure you are running the latest version of Slate in your Shopify theme by updating the @shopify/slate-tools dependency over time.

Updating Slate version

To update @shopify/slate-tools, we recommend using either yarn upgrade or npm install:

yarn upgrade --latest @shopify/slate-tools

or

npm install @shopify/slate-tools@latest

In addition to updating the dependency inside of the node_modules folder, this command also updates the version of @shopify/slate-tools in your package.json file.

Note: to better understand the updates that are made to Slate, you can check out the Slate changelog to view the list of updates for each release.