Menu

Term 'gpg' is not recognized

If someone trying to generate gpg keys and getting below error, then, user may need to try using the Unix or Git CLI. This error usually came when user try executing gpg commands on windows terminal and command prompt.

PS C:\Users\jorvee> gpg --generate-key
gpg : The term 'gpg' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the
spelling of the name, or if a path was included, verify that the path is correct and try again.
At line:1 char:1
+ gpg --generate-key
+ ~~~
    + CategoryInfo          : ObjectNotFound: (gpg:String) [], CommandNotFoundException
    + FullyQualifiedErrorId : CommandNotFoundException

No comments:

Post a Comment