Skip to content

Commit bfa6c81

Browse files
committed
Add a note to update Pyenv
1 parent 8f64bc7 commit bfa6c81

File tree

1 file changed

+12
-9
lines changed

1 file changed

+12
-9
lines changed

docs/user/Python-Runtime.md

Lines changed: 12 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -75,13 +75,14 @@ The four GraalPy runtimes are identified as follows, using the general pattern _
7575
### Linux
7676

7777
The easiest way to install GraalPy on Linux is to use [Pyenv](https://github.com/pyenv/pyenv) (the Python version manager).
78-
To install version 23.1.0 using Pyenv, run the following commands:
78+
To install version 24.0.0 using Pyenv, run the following commands:
7979
```bash
80-
pyenv install graalpy-23.1.0
80+
pyenv install graalpy-24.0.0
8181
```
8282
```bash
83-
pyenv shell graalpy-23.1.0
83+
pyenv shell graalpy-24.0.0
8484
```
85+
> Before running `pyenv install`, you may need to update `pyenv` to include the latest GraalPy versions.
8586
8687
Alternatively, you can download a compressed GraalPy installation file from [GitHub releases](https://github.com/oracle/graalpython/releases).
8788

@@ -91,13 +92,15 @@ Alternatively, you can download a compressed GraalPy installation file from [Git
9192
### macOS
9293

9394
The easiest way to install GraalPy on macOS is to use [Pyenv](https://github.com/pyenv/pyenv) (the Python version manager).
94-
To install version 23.1.0 using Pyenv, run the following commands:
95+
To install version 24.0.0 using Pyenv, run the following commands:
9596
```bash
96-
pyenv install graalpy-23.1.0
97+
pyenv install graalpy-24.0.0
9798
```
9899
```bash
99-
pyenv shell graalpy-23.1.0
100+
pyenv shell graalpy-24.0.0
100101
```
102+
> Before running `pyenv install`, you may need to update `pyenv` to include the latest GraalPy versions.
103+
101104
Alternatively, you can download a compressed GraalPy installation file from [GitHub releases](https://github.com/oracle/graalpython/releases).
102105

103106
1. Find the download that matches the pattern _graalpy-XX.Y.Z-macos-amd64.tar.gz_ or _graalpy-XX.Y.Z-macos-aarch64.tar.gz_ (depending on your platform) and download.
@@ -107,7 +110,7 @@ Alternatively, you can download a compressed GraalPy installation file from [Git
107110
```
108111
For example:
109112
```bash
110-
sudo xattr -r -d com.apple.quarantine ~/.pyenv/versions/graalpy-23.1.0
113+
sudo xattr -r -d com.apple.quarantine ~/.pyenv/versions/graalpy-24.0.0
111114
```
112115
3. Uncompress the file and update your `PATH` environment variable to include to the _graalpy-XX.Y.Z-macos-amd64/bin_ (or _graalpy-XX.Y.Z-macos-aarch64/bin_) directory.
113116

@@ -142,7 +145,7 @@ This generates wrapper scripts and makes the implementation usable from a shell
142145
```
143146
For example:
144147
```bash
145-
graalpy -m venv ~/.virtualenvs/graalpy-23.1.0
148+
graalpy -m venv ~/.virtualenvs/graalpy-24.0.0
146149
```
147150
148151
2. Activate the environment in your shell session:
@@ -151,7 +154,7 @@ This generates wrapper scripts and makes the implementation usable from a shell
151154
```
152155
For example:
153156
```bash
154-
source ~/.virtualenvs/graalpy-23.1.0/bin/activate
157+
source ~/.virtualenvs/graalpy-24.0.0/bin/activate
155158
```
156159
157160
Multiple executables are available in the virtual environment, including: `python`, `python3`, and `graalpy`.

0 commit comments

Comments
 (0)