Skip to content
You're viewing an older version of this GitHub Action. Do you want to see the latest version instead?
terminal

GitHub Action

setup_nu

0.1.1 Pre-release

setup_nu

terminal

setup_nu

This GitHub Action will setup a Nushell environment

Installation

Copy and paste the following snippet into your .yml file.

              

- name: setup_nu

uses: pelasgus/[email protected]

Learn more about this action in pelasgus/setup_nu

Choose a version

Action setup_nu

📝|ABSTRACT

This GitHub Action will setup a Nushell environment.

FEATURES

  • Automatically detects system architecture and OS to download the correct Nushell version.
  • Installs Nushell.
  • Optionally sets Nushell as the default shell.

🧰|USAGE

name: Test Nushell Setup

on:
  push:
    branches:
      - main
  pull_request:
    branches:
      - main

jobs:
  setup-nushell:
    runs-on: ubuntu-latest

    steps:
      - name: Checkout Code
        uses: actions/checkout@v4

      - name: Install Nushell
        uses: pelasgus/setup_nu@main

N.B. : To make nushell the default shell add:

with:
  set-default: true

🌱|Local Development

🚨|GENERAL PREREQUISITES

guix shell -m manifest.scm
cargo build --release

⚖️|LICENSE

The repository's contents are licensed under the latest version of the GNU General Public License.