Install issue ionic

Having this issue trying to install ionic using:

npm install -g @ionic/cli

43 error code 128
44 error An unknown git error occurred
45 error command git --no-replace-objects ls-remote ssh://git@github.com/ionic/cli.git
46 error git@github.com: Permission denied (publickey).
46 error fatal: Could not read from remote repository.
46 error
46 error Please make sure you have the correct access rights
46 error and the repository exists.
47 verbose exit 128
48 timing npm Completed in 43118ms
49 verbose unfinished npm timer reify 1657912885555
50 verbose unfinished npm timer reify:loadTrees 1657912885563
51 verbose unfinished npm timer idealTree:userRequests 1657912885568
52 verbose code 128
53 error A complete log of this run can be found in:

There seems to be a problem in the package key publication.
I can install any node package.

Fixed; it was a node issue; I just reinstall node