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?
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
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
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.