Pkl is not added to PATH #92

Closed
opened 2025-12-30 01:20:40 +01:00 by adam · 2 comments
Owner

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?
adam closed this issue 2025-12-30 01:20:40 +01:00
Author
Owner

@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 (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
Author
Owner

@bioball commented on GitHub (Mar 4, 2024):

There is now a homebrew formula, which works as an installer for macOS and Linux.

@bioball commented on GitHub (Mar 4, 2024): There is now a homebrew formula, which works as an installer for macOS and Linux.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/pkl#92