---
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/a39beaac42d7cf6ffd82e958f120c85ffda1d846d139e392cb397ef3b74524d8/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
```

!!! note

    This post is a <a href="/thoughts/" class="wikilink" data-title="Thoughts" data-description="These are generally my thoughts on a web page or some sort of url, except a rare few don&#39;t have a link. These are dual published off of my..." data-date="2024-04-01">thought</a>. It's a short note that I make
    about someone else's content online <a href="/tags/thoughts/" class="hashtag-tag" data-tag="thoughts" data-count=2 data-reading-time=3 data-reading-time-text="3 minutes">#thoughts</a>
