Permalink
Browse files

document the new way of doing things; refs #4934

  • Loading branch information...
1 parent cceb6c6 commit ceb30d7a0e3efb697d710e96add2633644dd7845 @Araq Araq committed Oct 24, 2016
Showing with 9 additions and 5 deletions.
  1. +4 −2 install.txt
  2. +3 −2 readme.md
  3. +2 −1 web/download.rst
View
@@ -33,7 +33,8 @@ is more cumbersome then.
To complete the installation you should also build Nim's tools like
``nimsuggest``, ``nimble`` or ``nimgrep`` via::
- nim e install_tools.nims
+ nim c koch
+ koch tools
Note that these tools should also end up in your ``PATH`` so adding
``$your_install_dir/bin/nim`` to your ``PATH`` is preferred over the symlink
@@ -83,4 +84,5 @@ Nimble is Nim's package manager. For the source based installations where you
added Nim's ``bin`` directory to your ``$PATH`` the easiest way of installing
Nimble is via::
- nim e install_nimble.nims
+ nim c koch
+ koch nimble
View
@@ -27,7 +27,8 @@ To build from source you will need:
are: clang, Visual C++, Intel's C++ compiler
* git or wget
-**Note:** When installing ``gcc`` on Ubuntu (and likely other distros) ensure that the ``build-essentials`` package is installed also.
+**Note:** When installing ``gcc`` on Ubuntu (and likely other distros) ensure
+that the ``build-essentials`` package is installed also.
If you are on a fairly modern *nix system, the following steps should work:
@@ -58,7 +59,7 @@ source based installations where you added Nim's ``bin`` directory to your PATH
the easiest way of installing Nimble is via:
```
-$ nim e install_nimble.nims
+$ koch nimble
```
## Community
View
@@ -61,7 +61,7 @@ Now open a terminal and follow these instructions:
``cd ~/programs/nim``.
* run ``sh build.sh``.
* Add ``$your_install_dir/bin`` to your PATH.
-* To build associated tools like ``nimble`` and ``nimsuggest`` run ``nim e install_tools.nims``.
+* To build associated tools like ``nimble`` and ``nimsuggest`` run ``nim c koch && koch tools``.
After restarting your terminal, you should be able to run ``nim -v``
which should show you the version of Nim you just installed.
@@ -94,6 +94,7 @@ and then to build it::
cd ..
bin/nim c koch
./koch boot -d:release
+ koch tools
You should then add the ``./bin`` (make sure to expand this into an
absolute path) directory to your ``PATH``.

0 comments on commit ceb30d7

Please sign in to comment.