updated readme.markdown
This commit is contained in:
parent
e512b02fca
commit
507dbf3ad3
1 changed files with 7 additions and 14 deletions
|
|
@ -74,28 +74,21 @@ info.
|
||||||
The following sections give platform-specific instructions on how to
|
The following sections give platform-specific instructions on how to
|
||||||
compile and install Nimble.
|
compile and install Nimble.
|
||||||
|
|
||||||
### Unix
|
### Source based installation
|
||||||
|
|
||||||
On Unix-like operating systems Nimble can be compiled and installed with two
|
Run this command in your **Nim** directory::
|
||||||
simple
|
|
||||||
commands. After successfully grabbing the latest Nim compiler simply execute
|
|
||||||
the following commands to clone nimble, compile it and then install it.
|
|
||||||
|
|
||||||
git clone https://github.com/nim-lang/nimble.git
|
nim e install_nimble.nims
|
||||||
cd nimble
|
|
||||||
nim -d:release c -r src/nimble -y install
|
|
||||||
|
|
||||||
After these steps are completed successfully, nimble will be installed
|
This assumes that you also used the source based installation and added
|
||||||
in ``~/.nimble/bin``. You must then add
|
``$nim/bin`` to your ``PATH``. If you create a symlink to ``nim`` instead,
|
||||||
``~/.nimble/bin`` to your ``$PATH``. Updating nimble can then be done by
|
you also need to create a symlink for ``nimble``.
|
||||||
executing ``nimble install nimble``.
|
|
||||||
|
|
||||||
### Windows
|
### Windows
|
||||||
|
|
||||||
You can install Nimble via a pre-built installation archive which is
|
You can install Nimble via a pre-built installation archive which is
|
||||||
available on the [releases](https://github.com/nim-lang/nimble/releases) page.
|
available on the [releases](https://github.com/nim-lang/nimble/releases) page.
|
||||||
Alternatively, you can also install Nimble from source, but the instructions
|
Alternatively, you can also install Nimble from source.
|
||||||
for doing so are a bit different on Windows.
|
|
||||||
|
|
||||||
#### Using the pre-built archives
|
#### Using the pre-built archives
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue