ftree - Install

ftree documentation - Details | Install | Changelog | Download

Installing ftree

Choose your OS:

macOS install directions

Safari users: rename ftree.dms

If you’re using Safari, there’s a bug where the browser will add the .dms extension to the file. I recommend removing the extension so you can just run ftree on the command line.

$ mv ~/Downloads/ftree.dms ~/Downloads/ftree
Make ftree executable

Browsers will not download files with the executable flag set. To accomplish this, run the following:

$ chmod u+x ~/Downloads/ftree
Add “unidentified developer” exception

Since ftree was not written in XCode (for portability reasons), it cannot be signed with a Apple Developer ID. Thus, to run ftree on newer versions of macOS, you must add an “unidentified developer” exception.

The easiest way to do this is using Finder: control-click on ftree, choose Open and then click on the Open button which will launch ftree in your default terminal app. After complete, you can then run ftree from the command line.

Optional: add ftree to your path

If you do not want to speficy the full path to ftree everytime you run it, you can add ftree to your path with the following command:

$ export PATH=~/Downloads:$PATH

Make sure you add this to your appropriate shell profile as well so it works in new sessions. For most shells, you can add the above command to your rx file (e.g. ~/.zshrc).

Register ftree

Ensure your profile is up to date. If needed, make changes and contact Hack42 to update your license type. Then visit your license page, download your license and register ftree with:

$ ftree register /path/to/h42.lf

Windows install directions

Download and run

After downloading, you can run ftree inside a command prompt:

C:\Users\hiro\Downloads>ftree 

or in a PowerShell with:

PS C:\Users\hiro\Downloads> ./ftree
Optional: add ftree to your path

If you do not want to speficy the full path to ftree everytime you run it, you can add ftree to your path.

  1. The first step depends on what verion of Windows you are running:
    • If you’re using Windows 8 or 10, press the Windows key, then search for and select “System (Control Panel)”.
    • If you’re using Windows 7, right click the “Computer” icon on the desktop and click “Properties”.
    • If you’re using Windows XP, select Start, select Control Panel and double click System.
  2. Click “Advanced system settings”.
  3. Click “Environment Variables”.
  4. Under “System Variables”, find the PATH variable, select it, and click “Edit”. If there is no PATH variable, click “New”.
  5. Add your directory to the beginning of the variable value followed by ; (a semicolon). For example, if the value was C:\Windows\System32, change it to C:\Users\Me\bin;C:\Windows\System32. Click “OK”.
  6. Restart your terminal. Adapted from nex3 gist
Register ftree

Ensure your profile is up to date. If needed, make changes and contact Hack42 to update your license type. Then visit your license page, download your license and register ftree with:

$ ftree register /path/to/h42.lf

Linux install directions

Make ftree executable

Browsers will not download files with the executable flag set. To accomplish this, run the following:

$ chmod u+x ~/Downloads/ftree
Optional: add ftree to your path

If you do not want to speficy the full path to ftree everytime you run it, you can add ftree to your path with the following command:

$ export PATH=~/Downloads:$PATH

Make sure you add this to your appropriate shell profile as well so it works in new sessions. For most shells, you can add the above command to your rx file (e.g. ~/.zshrc).

Register ftree

Ensure your profile is up to date. If needed, make changes and contact Hack42 to update your license type. Then visit your license page, download your license and register ftree with:

$ ftree register /path/to/h42.lf

Want to stay updated on our latest tools and HOWTOs?