Deploy the app
From local directory
Use our CLI from the root directory of your project:Notes
- The
entrypoint_file_nameis the file name where you defined your app. - Include a
.gitignorefile to exclude dependency folders likenode_modulesand.venv.
From GitHub
You can deploy an app directly from a public or private GitHub repository using the Kernel CLI. No need to clone or manually push code.Notes
--pathvs--entrypoint: Use--pathto specify a subdirectory within the repo (useful for monorepos), and--entrypointfor the path to your app’s entry file relative to that directory (or repo root if no--pathis specified).- The CLI automatically downloads and extracts the GitHub source code and uploads your app for deployment.
- For private repositories, provide a
--github-tokenor set theGITHUB_TOKENenvironment variable.
Environment variables
You can set environment variables for your app using the--env flag. For example:
Deployment notes
- The dependency manifest (
package.jsonfor JS/TS,pyproject.tomlfor Python) must be present in the root directory of your project. - View deployment logs using:
kernel deploy logs <deployment_id> --follow - If you encounter a 500 error during deployment, verify that your entrypoint file name and extension are correct (e.g.,
app.pynotapporapp.js). - Kernel assumes the root directory contains at least this file structure:

