Binaries
There are several ways get freckles on your machine. The most straightforward one is to just download the freckles
binary somewhere into your $PATH
and marking the file executable:
- download the appropriate file:
- Linux
- Mac OS X
- Windows is not supported just yet, but you can use the Linux version on WSL
- set the executable flag for the file
- copy it into a folder on your
$PATH
. - (optional) if you intend to also use the
frecklecute
application (and you probably want to):- link the file to that name (as the binary contains both the
freckles
andfrecklecute
applications).
- link the file to that name (as the binary contains both the
Here's how you could do all this (manually):
# download and install on Linux wget https://dl.frkl.io/linux-gnu/freckles chmod +x freckles mkdir -p ~/.local/bin mv freckles ~/.local/bin ln -s freckles ~/.local/bin/frecklecute # adjust PATH (optional) echo 'export PATH=$PATH:~/.local/bin' >> "~/.profile" source ~/.profile
# download and install on Mac OS X wget https://dl.frkl.io/darwin/freckles chmod +x freckles mkdir -p ~/.local/bin mv freckles ~/.local/bin ln -s freckles ~/.local/bin/frecklecute # adjust PATH (optional) echo 'export PATH=$PATH:~/.local/bin' >> "~/.profile" source ~/.profile
freck, the freckles bootstrap script
Even easier than downloading the freckles binaries is to use the freckles bootstrap script.
Do this:
curl https://freckles.sh | bash # or wget -O- https://freckles.sh | bash
This adds a section in your $HOME/.profile
file to make freckles available in your $PATH
. For that to take effect, you have to either logout of your terminal session and then login again, or source .profile
like:
source ~/.profile
If you want to configure the behaviour of the bootstrap script (like for example preventing it to touch your .profile
file), please check its Readme.
Other options
For other install options, check here.