-
-
Notifications
You must be signed in to change notification settings - Fork 1.5k
Getting Started
Christopher Dunn edited this page May 14, 2015
·
10 revisions
To get the source code you need either of these:
- A working web browser + tar(or equivalent): https://github.com/Araq/Nim/tarball/master
- wget + tar:
wget --no-check-certificate "https://github.com/Araq/Nim/tarball/master"
- git:
git clone --depth 1 git://github.com/Araq/Nim.git
After downloading the source (and extracting it), you need to extract build/csources.zip then you can bootstrap with:
-
./build.sh
orbuild.bat
(Windows) nim c koch
koch boot [-d:release]
- Put Nim on your PATH
- For Linux, you only need a symlink:
ln -s $PWD/bin/nim /home/user/bin
- For Linux, you only need a symlink:
git clone git://github.com/Araq/Nim.git
cd Nim
git clone --depth 1 git://github.com/nim-lang/csources
cd csources && sh build.sh
cd ..
bin/nim c koch
./koch boot -d:release
Nimble is Nim's package manager
- Download the source from https://github.com/nim-lang/nimble using one of the above methods.
nim c nimble
ln -s $PWD/nimble /home/user/bin
nimble update
Intro
Getting Started
- Install
- Docs
- Curated Packages
- Editor Support
- Unofficial FAQ
- Nim for C programmers
- Nim for Python programmers
- Nim for TypeScript programmers
- Nim for D programmers
- Nim for Java programmers
- Nim for Haskell programmers
Developing
- Build
- Contribute
- Creating a release
- Compiler module reference
- Consts defined by the compiler
- Debugging the compiler
- GitHub Actions/Travis CI/Circle CI/Appveyor
- GitLab CI setup
- Standard library and the JavaScript backend
Misc