Kernel’s deployment process is as simple as it is fast. We take your code from local to production in seconds. There are no configuration files to manage or complex CI/CD pipelines.

Once you deploy an app on Kernel, you can schedule its actions on a job or run them from other contexts. You can even run actions multiple times in parallel.

Deploy the app

Use the CLI from the root directory of your project:

kernel deploy <entrypoint_file_name>

Environment variables

You can set environment variables for your app using the --env flag. For example:

kernel deploy my_app.ts --env MY_ENV_VAR=my_value # Can add multiple env vars delimited by space

Deployment notes

  • The entrypoint_file_name is the file name where you defined your app.
  • Include a .gitignore file to exclude dependency folders like node_modules and .venv.
  • Kernel assumes the root directory contains at least this file structure:
/project-root
  |-- my_app.ts # Entrypoint file
  |-- package.json
  |-- .gitignore # Make sure to exclude dependency folders like node_modules
  |-- tsconfig.json # If Typescript
  ∟-- package-lock.json # Or bun.lock or pnpm-lock.yaml
# Successful deployment CLI output
SUCCESS  Compressed files
SUCCESS  Deployment successful
SUCCESS  App "my_app.ts" deployed with action(s): [my-action]
INFO  Invoke with: kernel invoke my-app my-action --payload '{...}'
SUCCESS  Total deployment time: 2.78s

Once deployed, you can invoke it from anywhere.

See the CLI reference for full details.