Skip to content

Commit 2092b59

Browse files
committed
[GR-46479] Update pyenv installation docs to reflect reality
PullRequest: graalpython/2985
2 parents 8605743 + d3f0453 commit 2092b59

File tree

2 files changed

+12
-13
lines changed

2 files changed

+12
-13
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ We welcome issue reports of all kinds and are working hard to close our compatib
1212

1313
The easiest option to try GraalPy is [pyenv](https://github.com/pyenv/pyenv/), the Python version manager.
1414
It allows you to easily install different GraalPy releases.
15-
To install version 22.3.0, for example, just run `pyenv install graalpy-22.3.0`.
15+
To install version 23.1.0, for example, just run `pyenv install graalpy-community-23.1.0`.
1616

1717
Another option is to use [Conda-Forge](https://conda-forge.org/).
1818
To get an environment with the latest version of GraalPy, use the following command:

docs/user/README.md

Lines changed: 11 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -27,16 +27,16 @@ To distinguish between them, GraalPy Community has the suffix `-community` in th
2727

2828
```bash
2929
# Oracle GraalPy
30-
graalpy-VERSION-PLATFORM.tar.gz
30+
graalpy-<version>-<os>-<arch>.tar.gz
3131
# GraalPy Community
32-
graalpy-community-VERSION-PLATFORM.tar.gz
32+
graalpy-community-<version>-<os>-<arch>.tar.gz
3333
```
3434

3535
Two language runtime options are available for both Oracle and Community GraalPy: Native and JVM.
3636
In the Native configuration, GraalPy is ahead-of-time compiled to a standalone native executable.
3737
This means that you do not need a JVM installed on your system to use it and it is size-compact.
3838
In the JVM configuration, you can use Java interoperability easily, and peak performance may be higher than the native configuration.
39-
A JVM standalone that comes with a JVM has the `-jvm` suffix in a name: `graalpy-jvm-<version>-<os>-<arch>.tar.gz`.
39+
A JVM standalone that comes with a JVM has the `-jvm` suffix in the name: `graalpy-jvm-<version>-<os>-<arch>.tar.gz`.
4040

4141
| Configuration: | Native (default) | JVM |
4242
| ------------------ | ---------------: | ------------: |
@@ -47,7 +47,7 @@ A JVM standalone that comes with a JVM has the `-jvm` suffix in a name: `graalpy
4747

4848
## Installing GraalPy
4949

50-
You can install GraalPy either using a Python manager or downloading a compressed GraalPy tarball appropriate for your platform.
50+
You can install GraalPy by downloading a compressed GraalPy tarball appropriate for your platform. For GraalPy Community, you can also use `pyenv` or `conda`.
5151

5252
### Downloading
5353

@@ -58,6 +58,7 @@ You can install GraalPy either using a Python manager or downloading a compresse
5858
```shell
5959
sudo xattr -r -d com.apple.quarantine <archive>.tar.gz
6060
```
61+
6162
Now extract:
6263
```shell
6364
tar -xzf <archive>.tar.gz
@@ -68,19 +69,17 @@ You can install GraalPy either using a Python manager or downloading a compresse
6869
./path/to/bin/graalpy --version
6970
```
7071

71-
### Using `pyenv`
72+
### Using `pyenv` (GraalPy Community only)
7273
#### Linux and macOS
7374

74-
The other way to install GraalPy on Linux and macOS platforms is to use [pyenv](https://github.com/pyenv/pyenv/), the Python version manager.
75-
For example, to install version 23.1.1, run the following command:
75+
The other way to install GraalPy Community on Linux and macOS platforms is to use [pyenv](https://github.com/pyenv/pyenv/), the Python version manager.
76+
For example, to install version 23.1.0, run the following command:
7677

7778
```bash
78-
# To install Oracle GraalPy
79-
pyenv install graalpy-23.1.1
80-
# To install GraalPy Community
81-
pyenv install graalpy-community-23.1.1
79+
pyenv install graalpy-community-23.1.0
8280
```
8381

82+
### Using Conda Forge (GraalPy Community only)
8483
Another option is to use [Conda-Forge](https://conda-forge.org/).
8584
To get an environment with the latest version of GraalPy, use the following command:
8685

@@ -201,4 +200,4 @@ Learn more in a dedicated [GraalPy Interoperability guide](Interoperability.md).
201200

202201
## Related Documentation
203202

204-
* [Installing Supported Packages](Packages.md)
203+
* [Installing Supported Packages](Packages.md)

0 commit comments

Comments
 (0)