How to use H5p CLI Server command

Forums: 

Hello everybody,

I am a bit frustrated, since I wanted to edit some existing h5p libraries but for me (I have some programming experience), setting up a working envirionment is not well documented. I wanted to use the h5p cli tool. I installed node.js v17

otacke's picture

Have you checked the readme at https://github.com/h5p/h5p-cli/blob/master/readme.md? 

I am sorry, I wanted to save my post, but accidentally published it.

I followed the readme, but unfortunately the setup command does not work for me. I get an "unknown command" error.

h5p setup https://github.com/h5p/h5p-multi-choice
Unknown command.

I am using a fresh ubuntu vm, I additionally installed git, npm, novm and node.js.

otacke's picture

I see!

Seems that H5P Group is still serving the previous version of the H5P CLI tool via npm. You'd need to install its npm package from github then.

@BV: Pål or Andrei may want to update the release package on npm.

Best,
Oliver

I am sorry, I wanted to save my post, but accidentally published it.

I followed the readme, but unfortunately the setup command does not work for me. I get an "unknown command" error.

h5p setup https://github.com/h5p/h5p-multi-choice Unknown command.

I am using a fresh ubuntu vm, I additionally installed git, npm, novm and node.js.