Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Install location of the deno-CLI is not XDG compliant #322

Open
TriMoon opened this issue Feb 1, 2025 · 0 comments
Open

Install location of the deno-CLI is not XDG compliant #322

TriMoon opened this issue Feb 1, 2025 · 0 comments

Comments

@TriMoon
Copy link

TriMoon commented Feb 1, 2025

Hi, im new to deno and the first thing i noticed is that it installs under ~/.deno/bin 🤔
This needs a modification of the ~$PATH` variable ofcourse, but why?

XDG Base Directory Specification - 3 Environment variables
User-specific executable files may be stored in $HOME/.local/bin.
Distributions should ensure this directory shows up in the UNIX $PATH environment variable, at an appropriate place.

The above is already done in most distro's, Kubuntu for sure as i use that at moment...

So i suggest to install the CLI as ~/.local/bin/deno, which doesn't need any change to the $PATH.

The below script used to install deno should be changed for this: https://deno.com/

curl -fsSL https://deno.land/install.sh | sh
@dsherret dsherret transferred this issue from denoland/deno Feb 1, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant