Download

The source code for the ns-3 development tree can be browsed online. Alternatively, if mercurial is installed on your system, you can download it directly:

hg clone http://code.nsnam.org/ns-3-dev

To obtain additional related libraries such as support for Python bindings, clone the ‘ns-3-allinone’ repository as follows, and run the download.py program:

hg clone http://code.nsnam.org/ns-3-allinone
cd ns-3-allinone && ./download.py