document the new way of doing things; refs #4934

This commit is contained in:
Araq
2016-10-24 17:22:31 +02:00
parent cceb6c625c
commit ceb30d7a0e
3 changed files with 9 additions and 5 deletions

View File

@@ -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 File

@@ -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 File

@@ -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``.