Installation
Binary
- Shell
- 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
Download the version you need for your platform from Lets Releases.
Once downloaded, the binary can be run from anywhere.
Ideally, you should install it somewhere in your PATH for easy use. /usr/local/bin
is the most probable location.
Package managers
- Snap
- Homebrew
- Arch
You can get binary release from https://aur.archlinux.org/packages/lets-bin/
If you are using yay
as AUR helper:
yay -S lets-bin
Also you can get bleeding edge version from https://aur.archlinux.org/packages/lets-git/
yay -S lets-git
TODO
brew tap lets-cli/tap
brew install lets-cli/tap/lets
Update
- Self upgrade
- Shell script
- Binary
- Arch
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.
To update lets
you can use shell script
curl --proto '=https' --tlsv1.2 -sSf https://lets-cli.org/install.sh | sh -s -- -b $(dirname $(which lets))
Running script will update lets
to latest version.
You can download latest version from Lets Releases.
AUR repository always provides latest version.