Hacktoberfest 2026: the issues maintainers tagged for October, open and beginner-friendly. Browse Hacktoberfest issues

Allow custom installation location

Open
#3 4 comments 4 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
3/5
Estimated time
1-2 days
Newbie friendliness
35/100
Issue type
Feature
Clarity
Mostly clear
Activity status
Stale
Tech stack
typescript
Domain
cli

Research direction

Start with src/modes/install.ts at the linked permission check and trace how the installation path is selected for both install and uninstall. The change is complete when PKGX_INSTALLATION_DIR consistently determines that location instead of the default /usr/local, including the multi-user case.

Written by the indexing model from the issue text.

Description

Since pkgx install is simply checking if the user has permissions to write to /usr/local it has a very confusing behavior. When there are more than one users in the system it will have conflicting results because some packages can be already installed by another user to the same folder.

It would be useful to have a simple PKGX_INSTALLATION_DIR showing it where to install/uninstall packages.

Dominant language
TypeScript
Stars
60
Forks
13
PR merge metrics
No merged PRs in 30d

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from pkgxdev/pkgm

All issues in pkgxdev/pkgm

Similar issues

More TypeScript issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.