Finding versions of Python that are available for "pyenv install"

23,349

pyenv accepts a switch to the install command to list available versions: --list, or -l for short:

$ pyenv install -l
Available versions:
  2.1.3
  2.2.3
  2.3.7
  2.4.0
  2.4.1
  2.4.2
...

Before running pyenv install -l, you may need to update pyenv as described here. Otherwise the list may not include the latest versions (thank you @csatt1).

Share:
23,349
Wayne Conrad
Author by

Wayne Conrad

Author of the Ruby ftpd gem. Autobiography, in code: 1976: C WORKING FOR A LIVING IDAY = IDAY + 1 IDOLLAR = IDOLLAR + 1 1978: 100 REM WORKING FOR A LIVING 110 D = D + 1 120 M = M + 1 1979: ; Working for a living INC DAY INC DOLLAR 1984: (* Working for a living *) day := day + 1 dollar := dollar + 1 1986: /* Working for a living */ day++, dollar++; 1988: // Working for a living day.another(); dollar.another(); 1999: // Working for a living public interface WorkForALiving { void another_day(); void another_dollar(); } 2003: # Working for a living [day, dollar].each { |o| o.another } 2011: # Working for a living [day, dollar].each(&:another)

Updated on December 25, 2021

Comments

  • Wayne Conrad
    Wayne Conrad over 2 years

    I want to know what Python versions I could install using the pyenv install command. pyenv versions lists only installed versions and does not appear to have an option to list available versions.

    How can I find out what versions of Python I can install with pyenv install?