---
slug: /sdk/cue/526369/install
---

import CodeBlock from "@theme/CodeBlock";
import styles from "@site/src/css/install.module.scss";
import TutorialCard from "@site/src/components/molecules/tutorialCard.js";
import Button from "@site/src/components/atoms/button.js";

# Installation

{@include: ../../../partials/_install-sdk-cue.md}

## ⚡ What's next?

After installing the `dagger-cue` CLI, we recommend [following our tutorial](./470907-get-started.md), especially if you want a hands-on experience setting up a local pipeline (5 minutes) and then reproducing it live in your CI environment (10-30 minutes), or grab a template below to see Dagger working instantly.

### Follow Our Tutorial

<TutorialCard
  img="/img/dagger-planning_astronaute.png"
  title="✨ Tutorial: Test your CI locally ✨"
  description="In this quick tutorial you'll learn how to build, test and deploy your pipeline locally and then integrate it in your own CI environment."
  buttonLabel="Let's Build!"
  url="sdk/cue/470907/get-started"
/>

### Explore Our Templates

Our templates are a great way to quickly see Dagger in action with a particular stack like Node.js or Go. After installing Dagger, you can check out the code and run templates right away. For more depth, try out the tutorial!

<div className={styles.templates}>
   {data.templates.map((x, index) => (
     <div className={styles.templateCard}>
       <div className={styles.templateInfo}>
         <img className="not-zoom" src={`/img/getting-started/install-dagger/${x.imgFilename}`} />
         <a href={x.url}>{x.label}</a>
       </div>
       <CodeBlock>
         git clone -b v0.2.x {x.url}
         {`\n`}
         cd {x.dir}
         {`\n`}
         {x.cmd}
       </CodeBlock>
     </div>
   ))}
 </div>

---

## 📖 Want To Go Deeper?

If you want to dig into the details, we recommend you read our Concepts section.

<Button label="How It Works" docPath="sdk/cue/159741/how-it-works" />

export const data = {
  templates: [
    {
      label: "Node.js with Yarn",
      imgFilename: "node.svg",
      dir: "examples/templates/nodejs/yarn/universe",
      url: "https://github.com/dagger/examples",
      cmd: "dagger-cue do build",
    },
    {
      label: "Node.js with npm",
      imgFilename: "node.svg",
      dir: "examples/templates/nodejs/npm/bash",
      url: "https://github.com/dagger/examples",
      cmd: "dagger-cue do build",
    },
    {
      label: "Java with Gradle",
      imgFilename: "gradle.svg",
      dir: "examples/templates/java/gradle",
      url: "https://github.com/dagger/examples",
      cmd: "dagger-cue do build",
    },
    {
      label: "Go build",
      imgFilename: "go.svg",
      dir: "examples/templates/go/universe",
      url: "https://github.com/dagger/examples",
      cmd: "dagger-cue do build",
    },
  ],
};
