---
title: "casey/just: 🤖 Just a command runner"
description: "!https://github.com/casey/just"
date: 2023-10-22
published: true
tags:
  - cli
  - dev
  - thought
template: link
---


<div class="embed-card embed-card-external">
  <a href="https://github.com/casey/just" class="embed-card-link" target="_blank" rel="noopener noreferrer">
    <div class="embed-card-image">
      <img src="https://opengraph.githubassets.com/19adbe031e79f605bc64519c0726704e3ee2fb45af9fd04c5017fd12e7aa6ec9/casey/just" alt="GitHub - casey/just: 🤖 Just a command runner — 🤖 Just a command runner. Contribute to casey/just development by creating an account on GitHub." loading="lazy">
    </div>
    <div class="embed-card-content">
      <div class="embed-card-title">GitHub - casey/just: 🤖 Just a command runner</div>
      <div class="embed-card-description">🤖 Just a command runner. Contribute to casey/just development by creating an account on GitHub.</div>
      <div class="embed-card-meta">GitHub &middot; github.com</div>
    </div>
  </a>
</div>


I think just, might just be the thing I have been looking for.  I've been looking for some ci/cd that I can host myself, but everything looks pretty big, so for now I am going to use just as my task runner.


I installed with installer.

``` bash
curl https://i.wayl.one/casey/just | bash
```

I set up my devtainer builds with just.  Here is my `justfile`, yes you just need the cli and a file named `justfile`.

``` yaml
default: base alpine slim
base: build deploy
alpine: build-alpine deploy-alpine
slim: build-slim deploy-slim

build:
    podman build -t registry.wayl.one/devtainer:latest .
deploy:
    podman push registry.wayl.one/devtainer

build-alpine:
    podman build -f docker/Dockerfile.alpine -t registry.wayl.one/devtainer:alpine .
deploy-alpine:
    podman push registry.wayl.one/devtainer:alpine

build-slim:
    podman build -f docker/Dockerfile.slim -t registry.wayl.one/devtainer:slim .
deploy-slim:
    podman push registry.wayl.one/devtainer:slim
```
