mirror of
https://github.com/apple/pkl.git
synced 2026-01-13 15:13:38 +01:00
Pkl is not added to PATH #92
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @Arctomachine on GitHub (Feb 27, 2024).
Installation script only downloads files to local folder, but path to executable is not added to PATH variable.
And so it requires to manually add it or to type full path to executable for cli commands each time, which is not mentioned in installation section https://pkl-lang.org/main/current/pkl-cli/index.html#installation.
But then the first thing mentioned in following usage section is pkl command, which will give error - command not found.
This should be done by script automatically. Also would be good to mention it in docs until it is implemented.
And on side note, why is it not installed into /usr/bin or elsewhere similar?
@bioball commented on GitHub (Feb 28, 2024):
We are working on a homebrew formula that should improve the installation experience for macOS and linux.
PR here: https://github.com/Homebrew/homebrew-core/pull/162857
@bioball commented on GitHub (Mar 4, 2024):
There is now a homebrew formula, which works as an installer for macOS and Linux.