Skip to main content

Installation

Binary

curl --proto '=https' --tlsv1.2 -sSf https://lets-cli.org/install.sh | sh -s -- -b ~/bin

This will install latest lets binary to ~/bin directory.

To be able to run lets from any place in system add $HOME/bin to your PATH

Open one of these files

vim ~/.profile # or vim ~/.bashrc or ~/.zshrc

Add the following line at the end of file, save file and restart the shell.

export PATH=$PATH:$HOME/bin

You can change install location to any directory you want, probably to directory that is in your $PATH

To install a specific version of lets (for example v0.0.21):

curl --proto '=https' --tlsv1.2 -sSf https://lets-cli.org/install.sh | sh -s -- v0.0.21

To use lets globally in system you may want to install lets to /usr/local/bin

May require sudo

curl --proto '=https' --tlsv1.2 -sSf https://lets-cli.org/install.sh | sh -s -- -b /usr/local/bin

Package managers

TODO

Update

Starting from version 0.0.30 lets has --upgrade flag which allows to do self-upgrades.

It updates binary located at which lets

lets --upgrade

If your lets version is below 0.0.30 - use shell script and specify the latest version.