diff options
author | Dominik Picheta <dominikpicheta@gmail.com> | 2016-06-04 22:06:50 +0100 |
---|---|---|
committer | Dominik Picheta <dominikpicheta@gmail.com> | 2016-06-04 22:06:50 +0100 |
commit | 16381364c2354c007ddf8737be1c58f11782e28d (patch) | |
tree | 11cc0cc75f2ab8ccfa4263d7d0ae4cae8814b58c /web/download.rst | |
parent | 5031b638d772c72b43bd786c6fb74c4c3bd0cdf1 (diff) | |
download | Nim-16381364c2354c007ddf8737be1c58f11782e28d.tar.gz |
News articles are now placed in separate pages.
Also given each rst file its rightful extension.
Diffstat (limited to 'web/download.rst')
-rw-r--r-- | web/download.rst | 56 |
1 files changed, 56 insertions, 0 deletions
diff --git a/web/download.rst b/web/download.rst new file mode 100644 index 000000000..cffad4ac9 --- /dev/null +++ b/web/download.rst @@ -0,0 +1,56 @@ +Download the compiler +===================== + +You can download the latest version of the Nim compiler here. + +**Note:** The Nim 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. + + +Binaries +-------- + +Unfortunately for now we only provide builds for Windows. +* 32 bit: `nim-0.13.0_x32.exe <download/nim-0.13.0_x32.exe>`_ +* 64 bit: `nim-0.13.0_x64.exe <download/nim-0.13.0_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 this: + +* `nim-0.13.0.tar.xz (3.1MB) <download/nim-0.13.0.tar.xz>`_ + +Extract the file and follow these instructions: + +* sh build.sh +* Add ``$your_install_dir/bin`` to your PATH. + +There are other ways to install Nim (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/nim-lang/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. |