• This repository has been archived on 25/Mar/2023
  • Stars
    star
    417
  • Rank 103,829 (Top 3 %)
  • Language
    JavaScript
  • License
    MIT License
  • Created over 7 years ago
  • Updated over 1 year ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

CLI tool to manage a SIFT Install

DEPRECATION NOTE: This project will be deprecated on March 1, 2023. It is being replace with cast which is a single smaller binary capable of installing any cast compatible distribution such as SIFT or REMnux (and more soon).

Logo

SIFT CLI

Manage your SIFT Installation

Usage

Usage:
  sift [options] list-upgrades [--pre-release]
  sift [options] install [--pre-release] [--version=<version>] [--mode=<mode>] [--user=<user>]
  sift [options] update [--mode=<mode>]
  sift [options] upgrade [--pre-release] [--mode=<mode>]
  sift [options] self-upgrade [--pre-release]
  sift [options] version
  sift [options] debug
  sift -h | --help | -v

Options:
  --dev                 Developer Mode (do not use, dangerous, bypasses checks)
  --version=<version>   Specific version install [default: latest]
  --mode=<mode>         SIFT Install Mode (desktop, server, complete (legacy) or packages-only (legacy)) [default: desktop]
  --user=<user>         User used for SIFT config [default: ${currentUser}]
  --no-cache            Ignore the cache, always download the release files
  --verbose             Display verbose logging

Issues

Open issues over at the main SIFT Repository, prefix all issues with [CLI]

Installation

  1. Go to the Latest Releases
  2. Download all the release files
    • sift-cli-linux
    • sift-cli-linux.sig
    • sift-cli.pub
  3. Install cosign
  4. Validate the signature cosign verify-blob --key sift-cli.pub --signature sift-cli-linux.sig sift-cli-linux
  5. Move the file to sudo mv sift-cli-linux /usr/local/bin/sift
  6. Run chmod 755 /usr/local/bin/sift
  7. Type sift --help to see its usage

Examples

Install Latest SIFT

sift install

Install Latest SIFT in Server Mode

Note: Server mode only installs tools and packages, it does not do any modifications that would normally appear on the desktop.

sift install --mode=server

Install Specific Version

sift install v2019.11.0

Update Existing VM

This just makes sure the current version is up-to-date

sift update

Upgrading to new SIFT Release

sift upgrade