summary refs log tree commit diff stats
path: root/web/download.txt
blob: f57e5a2496034e18dd447a6d0637bab595645bb0 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
You can download the latest version of the Nimrod compiler here.

**Note:** The Nimrod compiler requires a C compiler to compile software. On
Windows we recommend that you use
`Mingw-w64 <http://mingw-w64.sourceforge.net/>`_. GCC is recommended on Linux
and clang on Mac OS X.


Binaries
========

Unfortunately for now we only provide builds for Windows.

* 32 bit: `nimrod_0.9.6.exe <download/nimrod_0.9.6.exe>`_
* 64 bit: `nimrod_0.9.6_x64.exe <download/nimrod_0.9.6_x64.exe>`_


Installation based on generated C code
======================================

This installation method is the preferred way for Linux, Mac OS X, and other Unix
like systems. Binary packages may be provided later.


Download `nimrod_0.9.6.zip <download/nimrod_0.9.6.zip>`_, extract it and follow
these instructions:

* sh build.sh
* Add ``$your_install_dir/bin`` to your PATH.

There are other ways to install Nimrod (like using the ``install.sh`` script),
but these tend to cause more problems.


Installation from github
========================

Use the following commands to build the compiler from source.
Change the branch to suit your needs::

  git clone -b master git://github.com/Araq/Nim.git
  cd Nim
  git clone -b master --depth 1 git://github.com/nim-lang/csources
  cd csources && sh build.sh
  cd ..
  bin/nim c koch
  ./koch boot -d:release

The ``master`` branch always contains the latest stable version of the compiler.
If you want bleeding edge then switch to the ``devel`` branch and follow
the same instructions outlined above.