Self-paced

Explore our extensive collection of courses designed to help you master various subjects and skills. Whether you're a beginner or an advanced learner, there's something here for everyone.

Bootcamp

Learn live

Join us for our free workshops, webinars, and other events to learn more about our programs and get started on your journey to becoming a developer.

Upcoming live events

Learning library

For all the self-taught geeks out there, here is our content library with most of the learning materials we have produced throughout the years.

It makes sense to start learning by reading and watching videos about fundamentals and how things work.

Search from all Lessons


LoginGet Started
← Back to How to's
Edit on Github

How to publish a LearnPack package in the cloud

Written by:

LearnPack has evolved. Now you can publish your packages in the cloud, so use can access them from anywhere, in any device. During this guide you'll learn how to publish your own LearnPack packages and start sharing them with your friends, colleagues, students and the whole world.

Prerequisites

  • You must have a 4Geeks account. If you don't have one, you can create it here.
  • Once you created an account, you need to accept the Rigobot invitation in your dashboard. Rigobot connected
  • You must have a Publisher permission in your 4Geeks dashboard. If you don't have it, you can request it by contacting support.

Publishing a package

  1. Open your LearnPack package in your preferred environment, Gitpod, Codespaces or locally.

  2. Check that you have the latest version of LearnPack installed by running learnpack --version in your terminal. All versions above the 4.0.17 are supported. If you don't have the latest version, you can update LearnPack by running npm i -g @learnpack/learnpack.

  3. Check the learn.json file to ensure that the editor.version has a version equal or higher than 4.3.0. This will ensure that your package is compatible with the latest LearnPack editor, including the new features and improvements such as Login with GitHub, Session Management and new Dark Mode. learnpack-editor learn.json

  4. Run learnpack publish in your terminal.

  5. Follow the instructions in the terminal to publish your package.

  6. Done! Your package is now published and you can share it with anyone.