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

How do you manually install this? #648

Closed
MrStonedOne opened this issue Dec 3, 2018 · 1 comment · Fixed by #649
Closed

How do you manually install this? #648

MrStonedOne opened this issue Dec 3, 2018 · 1 comment · Fixed by #649

Comments

@MrStonedOne
Copy link
Contributor

MrStonedOne commented Dec 3, 2018

How do you manually install this on windows?

All of the instructions instruct me to use some package manager, but i see no reason to install a package manager for 1 package, and I have no reason to use them for any other package as this is the only mod to power shell i'm gonna want, as i do everything else in bash shell. (git doesn't work for me in bash shell for windows because it leaves files behind when you control+c out of an interactive commit and then further git operations fail until you manually remove those files, posh-git on github shell classic didn't have this issue and i'm hoping the same is true for posh-git proper)

@rkeithhill
Copy link
Collaborator

rkeithhill commented Dec 6, 2018

PowerShell v5 and higher come with a built-in package manager. There is nothing else to install. But you can always download a zip of this project, unzip it somewhere on your filesystem and specify the full path to root/src/posh-git.psd1 to the import command. Say you unzip to $home\posh-git, you can import the module like so Import-Module $home\posh-git\src\posh-git.psd1.

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

Successfully merging a pull request may close this issue.

2 participants