Skip to content

Installing Nim

Nimble can be used to install Nim globally and manage global Nim versions. In this quality, it's direct replacement for tools like choosenim and grabnim.

  1. Install Nimble.

  2. Install the latest Nim globally:

    $ nimble install -g nim
    

    If you need a specific version:

    $ nimble install -g nim@2.2.6
    
  3. To set up development environment, install nimlangserver and nph globally:

    $ nimble install -g nimlangserver nph