Skip to content

Commit 3e7680e

Browse files
authored
Update install instructions (#3792)
1 parent aa2d796 commit 3e7680e

File tree

4 files changed

+22
-44
lines changed

4 files changed

+22
-44
lines changed

web/docs/guides/legacy/installer.md

Lines changed: 8 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,13 @@ Afterwards, you can use [the regular installation instructions](../../introducti
2323
npm i -g @wasp.sh/wasp-cli@latest
2424
```
2525

26+
You can also ask for a specific version of Wasp. Wasp versions 0.20.2 and greater are available through npm:
27+
28+
```shell
29+
# Set x.y.z to the version you want to install, e.g. 0.20.2
30+
npm i -g @wasp.sh/wasp-cli@x.y.z
31+
```
32+
2633
## Keep using the legacy installer {#keep-using}
2734

2835
If you haven't yet migrated to the npm installer method, you can keep using the legacy installer, by running:
@@ -44,21 +51,7 @@ In any of these cases, the installer will print an error message and exit withou
4451

4552
## Troubleshooting
4653

47-
### I need to use versions older than Wasp 0.21
48-
49-
For your convenience, we have also published older versions of Wasp on npm (from 0.16 onwards), so after migrating to the npm method, you can keep developing on projects that haven't been upgraded yet.
50-
51-
You can run the `npm install` command with any given version to switch to that Wasp version:
52-
53-
```shell
54-
npm i -g @wasp.sh/wasp-cli@0.16
55-
npm i -g @wasp.sh/wasp-cli@0.17
56-
npm i -g @wasp.sh/wasp-cli@0.18
57-
npm i -g @wasp.sh/wasp-cli@0.19
58-
npm i -g @wasp.sh/wasp-cli@0.20
59-
```
60-
61-
### I need to use versions older than Wasp 0.16
54+
### I need to use versions older than Wasp 0.20.2
6255

6356
These versions are very out of date and we don't recommend using them. We urge you to upgrade your Wasp project to a newer version as soon as possible to keep your app secure and stable.
6457

web/docs/migration-guides/migrate-from-0-20-to-0-21.md

Lines changed: 3 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -26,19 +26,15 @@ curl -sSL https://get.wasp.sh/installer.sh | sh -s -- migrate-to-npm
2626

2727
The tool will uninstall the old version of Wasp, and guide you through installing the new version through npm.
2828

29-
For your convenience, we have also published older versions of Wasp on npm (from 0.16 onwards), so after migrating to the npm method, you can keep developing on projects that haven't been upgraded yet. Just tell npm which version you need:
29+
For your convenience, we have also published Wasp 0.20.2 to npm so you can keep developing on projects that haven't been upgraded yet. Just tell npm which version you need:
3030

3131
```sh
32-
npm i -g @wasp.sh/wasp-cli@0.16
33-
npm i -g @wasp.sh/wasp-cli@0.17
34-
npm i -g @wasp.sh/wasp-cli@0.18
35-
npm i -g @wasp.sh/wasp-cli@0.19
3632
npm i -g @wasp.sh/wasp-cli@0.20
3733
npm i -g @wasp.sh/wasp-cli@0.21
3834
```
3935

40-
:::caution Versions older than 0.16 are not supported
41-
Wasp versions older than 0.16 are not available through the npm installer. If you have projects using an older version, you should keep using the installer and upgrade to a npm-supported version as soon as possible.
36+
:::caution Versions older than 0.20.2 are not supported
37+
Wasp versions older than 0.20.2 are not available through the npm installer. If you have projects using an older version, you should keep using the installer and upgrade to a npm-supported version as soon as possible.
4238
:::
4339

4440
If you want to learn more about this migration or troubleshoot any problems you might find, read our [Legacy Installer guide](../guides/legacy/installer.md).

web/versioned_docs/version-0.21/guides/legacy/installer.md

Lines changed: 8 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,13 @@ Afterwards, you can use [the regular installation instructions](../../introducti
2323
npm i -g @wasp.sh/wasp-cli@latest
2424
```
2525

26+
You can also ask for a specific version of Wasp. Wasp versions 0.20.2 and greater are available through npm:
27+
28+
```shell
29+
# Set x.y.z to the version you want to install, e.g. 0.20.2
30+
npm i -g @wasp.sh/wasp-cli@x.y.z
31+
```
32+
2633
## Keep using the legacy installer {#keep-using}
2734

2835
If you haven't yet migrated to the npm installer method, you can keep using the legacy installer, by running:
@@ -44,21 +51,7 @@ In any of these cases, the installer will print an error message and exit withou
4451

4552
## Troubleshooting
4653

47-
### I need to use versions older than Wasp 0.21
48-
49-
For your convenience, we have also published older versions of Wasp on npm (from 0.16 onwards), so after migrating to the npm method, you can keep developing on projects that haven't been upgraded yet.
50-
51-
You can run the `npm install` command with any given version to switch to that Wasp version:
52-
53-
```shell
54-
npm i -g @wasp.sh/wasp-cli@0.16
55-
npm i -g @wasp.sh/wasp-cli@0.17
56-
npm i -g @wasp.sh/wasp-cli@0.18
57-
npm i -g @wasp.sh/wasp-cli@0.19
58-
npm i -g @wasp.sh/wasp-cli@0.20
59-
```
60-
61-
### I need to use versions older than Wasp 0.16
54+
### I need to use versions older than Wasp 0.20.2
6255

6356
These versions are very out of date and we don't recommend using them. We urge you to upgrade your Wasp project to a newer version as soon as possible to keep your app secure and stable.
6457

web/versioned_docs/version-0.21/migration-guides/migrate-from-0-20-to-0-21.md

Lines changed: 3 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -26,19 +26,15 @@ curl -sSL https://get.wasp.sh/installer.sh | sh -s -- migrate-to-npm
2626

2727
The tool will uninstall the old version of Wasp, and guide you through installing the new version through npm.
2828

29-
For your convenience, we have also published older versions of Wasp on npm (from 0.16 onwards), so after migrating to the npm method, you can keep developing on projects that haven't been upgraded yet. Just tell npm which version you need:
29+
For your convenience, we have also published Wasp 0.20.2 to npm so you can keep developing on projects that haven't been upgraded yet. Just tell npm which version you need:
3030

3131
```sh
32-
npm i -g @wasp.sh/wasp-cli@0.16
33-
npm i -g @wasp.sh/wasp-cli@0.17
34-
npm i -g @wasp.sh/wasp-cli@0.18
35-
npm i -g @wasp.sh/wasp-cli@0.19
3632
npm i -g @wasp.sh/wasp-cli@0.20
3733
npm i -g @wasp.sh/wasp-cli@0.21
3834
```
3935

40-
:::caution Versions older than 0.16 are not supported
41-
Wasp versions older than 0.16 are not available through the npm installer. If you have projects using an older version, you should keep using the installer and upgrade to a npm-supported version as soon as possible.
36+
:::caution Versions older than 0.20.2 are not supported
37+
Wasp versions older than 0.20.2 are not available through the npm installer. If you have projects using an older version, you should keep using the installer and upgrade to a npm-supported version as soon as possible.
4238
:::
4339

4440
If you want to learn more about this migration or troubleshoot any problems you might find, read our [Legacy Installer guide](../guides/legacy/installer.md).

0 commit comments

Comments
 (0)