-
-
Notifications
You must be signed in to change notification settings - Fork 10
1. Installing Navi
I am going to go through this guide as if I am installing Navi on a clean system. Fresh install.
Getting Navi is a pretty straight forward thing.
Tip
While the first two steps are not explicitly required the important parts are steps 3 and 4
- Setup git directory -
mkdir ~/ssg
- Move to the git directory -
cd ~/ssg
-
git clone https://github.com/SaintsSec/Navi
Or if you use SSHgit clone git@github.com:SaintsSec/Navi.git
- Confirm complete clone -
ls
Note
From here you should now see Navi as being the contents of the directory.
Important
All major updates happen on the edge branch. We will discuss accessing that later.
- Move into the Navi directory -
cd Navi/
- Move into the install directory - `cd install/
- Run the install script -
./install.sh
Note
On the back end this install script is coping Navi into your systems /opt/ directory.
It is also installing all the requirements to run Navi and setting up her system alias. So once its over
You should be able to type navi
on the command line and it will drop you into Navi's shell program.
Important
If for whatever reason you cant simply run navi
post install try restarting your terminal.
Caution
From this point forward if you are doing any development with Navi, editing the AI or
making a custom script. Do your work from the /opt/Navi
directory. Then copy that over to the cloned Navi in ~/ssg/
Now that Navi is installed, you have quick easy access to it through command line aliasing. Which makes updating a breeze
Its automated
Yeah the main branch update process has been automated as of v0.6.5 and beyond. However if you want to manually update you can do the following!
On Main Branch
- Update from anywhere on the command line -
navi --update
On Edge Branch
Warning
Edge branch is pre-release / development builds. So it might be the latest and greatest but it might also be unstable.
If you run into problems please submit an Issue
- Update from anywhere on the command line -
navi --edge
Important
You can install directly from edge but the moment you use navi
stock without --edge
it will kick you right back to the normal main branch latest release. So run navi --edge
right after you install to make sure the version numbers all check out and everything is installed properly! -- As of version 0.6.6 you can access Navi's settings directly from the cli app by typing settings
in the chat. You can switch branches this way as well.