Update command
supertokens update [options]
Update SuperTokens to the latest compatible (if no options are provided) or a specific version. Updating involves fetching new versions of the core, plugin-interface and plugin modules. Depending on the version specified, you may also need to check for changes in the driver and frontend SDK versions. To see a compatibility matrix, please visit this page.
Options
--core
- Specify a version for the core module of SuperTokens to change to. Either in
X.Y
orX.Y.Z
format. - Example:
supertokens update --core=2.1.2
orsupertokens update --core=2.1
- Specify a version for the core module of SuperTokens to change to. Either in
--storage
- Specify a version for the storage module of SuperTokens to change to. Either in
X.Y
orX.Y.Z
format. - Example:
supertokens update --storage=2.1.2
orsupertokens update --storage=2.1
- Specify a version for the storage module of SuperTokens to change to. Either in
--help
- Help for this command.
- Example:
supertokens update --help