Nim integration for Python PIP

November 2, 2025 ยท View on GitHub

  • AutoInstall Nim directly from Python PIP.
  • AutoInstall of nim, nimble, nimpy, fusion, nodejs, cpython.

Use

$ nim --version
nim: command not found

$ pip install choosenim_install
    choosenim-init: Downloading choosenim-0.6.0_linux_amd64
          Info: Version 1.2.0 already selected
    choosenim-init: ChooseNim installed in /home/juan/.nimble/bin
    Downloading Official package list
        Success Package list downloaded.

Successfully built choosenim-install
Successfully installed choosenim-install-0.0.1

$ nim --version
Nim Compiler Version 1.2.6 [Linux: amd64]
Compiled at 2020-04-03
Copyright (c) 2006-2020 by Andreas Rumpf
active boot switches: -d:release

$

  • You can re-run it several times if you want.

  • Update an old version of Nim to the latest just by reinstalling the package using PIP.

Requisites

Stable

  • Python >=3.5, CPython implementation, Linux or Windows, x86 and ARM, 64Bit.

Experimental

  • Mac, PYPY2, PYPY3, Python2, 32Bit are all Experimental.

History

Originally this used multiple bundled choosenim to install Nim, now it re-implements choosenim functionalities in pure Python.

More Info

Stars

:star: @juancarlospaco :star: @adokitkat :star: @hffqyd :star: @makkus :star: @jmetz :star: @lf-araujo :star: @shaoxie1986 :star: @alextremblay :star: @tuanductran :star: @shizhaojingszj :star: @rc-chuah :star: @hasansezertasan