You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/user/Python-Runtime.md
+12-9Lines changed: 12 additions & 9 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -75,13 +75,14 @@ The four GraalPy runtimes are identified as follows, using the general pattern _
75
75
### Linux
76
76
77
77
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:
79
79
```bash
80
-
pyenv install graalpy-23.1.0
80
+
pyenv install graalpy-24.0.0
81
81
```
82
82
```bash
83
-
pyenv shell graalpy-23.1.0
83
+
pyenv shell graalpy-24.0.0
84
84
```
85
+
> Before running `pyenv install`, you may need to update `pyenv` to include the latest GraalPy versions.
85
86
86
87
Alternatively, you can download a compressed GraalPy installation file from [GitHub releases](https://github.com/oracle/graalpython/releases).
87
88
@@ -91,13 +92,15 @@ Alternatively, you can download a compressed GraalPy installation file from [Git
91
92
### macOS
92
93
93
94
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:
95
96
```bash
96
-
pyenv install graalpy-23.1.0
97
+
pyenv install graalpy-24.0.0
97
98
```
98
99
```bash
99
-
pyenv shell graalpy-23.1.0
100
+
pyenv shell graalpy-24.0.0
100
101
```
102
+
> Before running `pyenv install`, you may need to update `pyenv` to include the latest GraalPy versions.
103
+
101
104
Alternatively, you can download a compressed GraalPy installation file from [GitHub releases](https://github.com/oracle/graalpython/releases).
102
105
103
106
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
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.
113
116
@@ -142,7 +145,7 @@ This generates wrapper scripts and makes the implementation usable from a shell
142
145
```
143
146
For example:
144
147
```bash
145
-
graalpy -m venv ~/.virtualenvs/graalpy-23.1.0
148
+
graalpy -m venv ~/.virtualenvs/graalpy-24.0.0
146
149
```
147
150
148
151
2. Activate the environment in your shell session:
@@ -151,7 +154,7 @@ This generates wrapper scripts and makes the implementation usable from a shell
151
154
```
152
155
For example:
153
156
```bash
154
-
source ~/.virtualenvs/graalpy-23.1.0/bin/activate
157
+
source ~/.virtualenvs/graalpy-24.0.0/bin/activate
155
158
```
156
159
157
160
Multiple executables are available in the virtual environment, including: `python`, `python3`, and `graalpy`.
0 commit comments