Nitric is a free, open source cloud infrastructure management project written in Go and released under Apache-2.0. It has 2,017 GitHub stars, 121 forks and 45 open issues, and was last pushed 8 months ago. On this registry it ranks #38 of 43 tracked projects in Cloud Infrastructure Management, with 5 head-to-head comparisons available.

What is Nitric?

What it is

Nitric is Apache-2.0 multi-language framework for cloud applications. Infrastructure from code. Lives in cloud-native infrastructure-as-code ecosystem. Targets backend services needing APIs, databases, queues, topics, key-value stores, buckets.

Solves boilerplate and coupling between application code and cloud configuration. Nitric infers infrastructure requirements from code, then orchestrates deployment through generated automation tools. Teams can change services, infrastructure-as-code tools, or cloud providers without changing application code. Project language: Go. License: Apache-2.0. Stars: 2018. Forks: 121. Open issues: 45. Last push: 2026-02-04T22:35:08Z.

Key capabilities

  • Declare infrastructure requirements in application code. Framework infers resources. No manual Terraform or other infrastructure-as-code files needed.
  • Support common backend resources. Includes databases, queues or topics, APIs, key-value stores, buckets.
  • Target AWS, GCP, Azure. Topics identify AI, backend, cloud-native, DevOps, Dart, Go, infrastructure-as-code.
  • Deploy through automatically generated Pulumi or Terraform. Custom providers can be built for other automation tools.
  • Run locally with local dashboard. Applications can run before cloud deployment.
  • Configure IAM permissions for resources such as buckets. Code can request read and write access without separate policy files.
  • Include escape hatches for custom infrastructure. Abstraction builds on existing cloud layers instead of hiding them.

Who uses it and how

  • Backend teams define API endpoint and storage bucket in application code, then deploy service to cloud provider with nitric up.
  • Cloud-native teams build portable services for AWS, GCP, or Azure without coupling application code to single provider.
  • DevOps teams switch between generated Pulumi, generated Terraform, or custom providers while keeping same application code.
  • Developers use local dashboard to run and inspect projects before deployment.
  • AI, backend, cloud-native projects use Nitric to declare resources such as APIs, queues, topics, key-value stores, databases, buckets from code.

Getting started

Install on macOS with brew install nitrictech/tap/nitric, on Linux with curl -L "https://nitric.io/install?version=latest" | bash, or on Windows with scoop bucket add nitric https://github.com/nitrictech/scoop-bucket.git and scoop install nitric. Create project with nitric new, deploy with nitric up.

When to use it — and when not to

Use when team wants infrastructure requirements beside application code and portability across AWS, GCP, Azure matters. Avoid when organization requires hand-written Terraform or Pulumi as sole source of truth, because Nitric generates deployment automation from code. Metadata shows young repository, zero recorded contributors, forty-five open issues, so review maturity and support model before adopting.

project readme (upstream, from github) — read inline

Effortless backends with infrastructure from code

GitHub release (latest SemVer) GitHub GitHub Workflow Status Codecov Discord

Nitric is a multi-language framework, with concise inline infrastructure from code. Modern applications should be robust, productive and a joy to build. Nitric solves common problems building for modern platforms:

We also know abstraction should mean building on existing layers, not hiding them. Nitric includes powerful escape hatches for when things get custom.

Supported Languages

Supported Clouds

These are supported out of the box, but you can also build custom providers as well

🧑‍💻 Get started

💿 Install Nitric:

macOS:

brew install nitrictech/tap/nitric

Linux:

curl -L "https://nitric.io/install?version=latest" | bash

Windows:

scoop bucket add nitric https://github.com/nitrictech/scoop-bucket.git
scoop install nitric

🚀 Start building your first app:

nitric new

🕹 See our example apps: Example Apps Repo.

📚 Prefer a walkthrough? Read through our guides.

👋 Any questions? Join our developer community on Discord.

Give us a star to help support our work!

🍿 Visual Learner?

To get up to speed quickly, take a look at our quick intro to Nitric.

🤷 So.. how does it work?

Nitric focuses on what you want to achieve as the developer:

What workflow do you need to be productive?

What system design are you trying to achieve?.

All you need to do is write your application code and your infrastructure requirements are inferred. Nitric then orchestrates and configures the deployment of your application, no need to manually write your Terraform or other IaC code. By abstracting these infrastructure requirements, it removes the need to write boilerplate and means your single application is portable across clouds including, AWS, GCP, and Azure.

And, it's all open-source

📝 Example: Note Taking

Creating production-ready services and resources is simple, with less than 10 lines to deploy an API endpoint and a bucket with all the IAM permissions automatically configured.

import { api, bucket } from "@nitric/sdk";

const main = api("main");
const notes = bucket("notes").allow("read", "write");

main.post("/notes/:title", async (ctx) => {
  const { title } = ctx.req.params;
  await notes.file(title).write(ctx.req.text());
});

This is the only code needed to deploy a working application to any cloud provider using nitric up. Nitric can deploy this application using automatically generated Pulumi, Terraform or any other automation tools of your choice.

Why use Nitric?

  1. Developer-Centric Workflow Nitric lets you design your application architecture, independent of the deployment automation tool or target platform. With highly declarative in-app infrastructure requirements.

  2. Making Implicit Requirements Explicit If your app needs storage, a database, or a message queue, Nitric ensures these resources are properly set up and integrated into your app, removing the friction of manual configuration.

  3. Cloud-Agnostic and Portable Nitric decouples your application from the underlying cloud infrastructure. Whether you're using AWS, Azure, GCP, or Kubernetes, Nitric allows you to map your application's requirements to the appropriate services across platforms.

  4. Automated Infrastructure, Best Practices Included One of the most error-prone aspects of cloud development is managing permissions, configurations, and security policies. Nitric automates this, making security best practices—like least privilege access and proper service configurations easy.

  5. Focus on Application Logic Nitric's approach allows you to focus on building your application, instead of the scaffolding required to run it in the cloud. By removing the manual steps from the IaC process, Nitric eliminates significant boilerplate and reduces the runtime checking needed to handle configuration errors.

  6. Plugin-Based Architecture Nitric's plugin-based architecture allows you to use the deployment plugins we provide, which use Pulumi or Terraform for deployment, or write your own. This flexibility allows you to use the tools you're comfortable with, while still benefiting from Nitric's infrastructure automation and cloud-agnostic approach.

Want more?

Nitric has full documentation at nitric.io/docs, including concepts, reference documentation for various languages and many tutorials/guides.

Contributing

We greatly appreciate contributions, consider starting with the contributions guide or development guide, and a chat on Discord or GitHub.

Frequently asked questions

Is Nitric free to use?

Nitric is open source under the Apache-2.0 licence. There is no licence fee and no seat count — you can self-host it or, where the project offers one, pay a vendor for a managed version instead.

What does Nitric do?

Cloud-native framework for infrastructure from code

What is Nitric written in?

Nitric is primarily written in Go. Its source is publicly available at https://github.com/nitrictech/nitric, and it has 2,017 GitHub stars.