Installation
Nothing here needs administrator rights, and everything installs under your home directory. Every route that installs for you checks the archive against the sha256 published with the release and refuses anything that does not match.
Mac or Linux, and I use Homebrew
- Install it:
If Homebrew says your Command Line Tools are outdated, it prints the command to fix that. Run it, then run the line above again.brew install alpcakin/tap/lore - Add the keybinding to your shell:
It shows the one line it will add to your profile and asks first.lore setup - Load the change into this window. It only reaches shells that start after
it, so either run this (on Linux with bash, use
~/.bashrc):
or open a new terminal window.source ~/.zshrc - Press
ctrl+g, type a few letters of what you want, pressenter.
Mac or Linux, and I do not use Homebrew
- Install it:
curl -fsSL https://raw.githubusercontent.com/alpcakin/lore/main/packaging/install.sh | sh - Tell your shell where it went. The installer puts
lorein~/.local/bin, which a new Mac does not look in. On a Mac (zsh):
On Linux with bash, useecho 'export PATH="$HOME/.local/bin:$PATH"' >> ~/.zshrc~/.bashrcinstead of~/.zshrc. - Load that into this window, or
lorewill still be “not found” here (on Linux with bash, use~/.bashrc):source ~/.zshrc - Add the keybinding to your shell:
It shows the one line it will add to your profile and asks first.lore setup - Load that too (
source ~/.zshrcagain, or open a new terminal window), then pressctrl+g, type a few letters of what you want, pressenter.
Windows, and I use Scoop
- Install it:
scoop bucket add alpcakin https://github.com/alpcakin/scoop-bucket scoop install lore - Add the keybinding to PowerShell:
lore setup - Open a new PowerShell window, then press
ctrl+g.
Windows, and I do not use Scoop
- In PowerShell, install it:
It adds itself to your PATH.irm https://raw.githubusercontent.com/alpcakin/lore/main/packaging/install.ps1 | iex - Open a new PowerShell window.
- Add the keybinding:
lore setup - Open one more new PowerShell window, then press
ctrl+g.
I have Rust
- Install it:
Make surecargo install cmdlore~/.cargo/binis on your PATH. - Add the keybinding:
lore setup - Load the change into this window with
source ~/.zshrc(on Linux with bash,~/.bashrc), or open a new terminal window. - Press
ctrl+g.
I want to download it myself
- Every release carries an archive for Windows, macOS on Intel and Apple silicon, and Linux on x86_64 and arm64, plus a statically linked build that runs on any Linux whatever its glibc. Download the one for your system from the releases page.
- Check it against the
SHA256SUMSpublished beside it. - Unpack it and put
lorein a folder that is on your PATH. - Add the keybinding:
lore setup - Load the change into this window with
source ~/.zshrc(on Linux with bash,~/.bashrc), or open a new terminal window, then pressctrl+g.
Troubleshooting
lore: command not found
Either lore did not install, or your shell does not know where it is.
- Installed with the curl line: run
~/.local/bin/lore version. If that prints a version, lore is installed and only your PATH is missing. Do steps 2 and 3 of the curl box above. If you already did, you are in a window that was open before you did: runsource ~/.zshrcor open a new one. - Installed with Homebrew: run
brew list lore. If it says there is no such formula, the install did not finish. Runbrew install alpcakin/tap/loreagain and read what it says.
I pressed ctrl+g and nothing happens
Run source ~/.zshrc (on Linux with bash, ~/.bashrc) or open a new terminal
window. lore setup only changes shells started after it ran. If it still does
nothing, run lore setup again and read what it says.
Homebrew says my Command Line Tools are outdated
Homebrew stops until they are updated. It prints the exact command; on most Macs it is:
sudo rm -rf /Library/Developer/CommandLineTools
sudo xcode-select --install
Then run the brew install line again.