CLI tool to manage a SIFT Install
JavaScript
Clone or download
Latest commit f1177e4 Jul 10, 2018
Permalink
Failed to load latest commit information.
.gitignore improvements to console feedback during update process Jun 10, 2017
LICENSE.md Update LICENSE.md Apr 13, 2018
README.md Update README.md Dec 5, 2017
package-lock.json 1.7.0 Jun 25, 2018
package.json v1.7.1 Jul 10, 2018
sift-cli.js really pin to 2017.7.5 Jul 8, 2018

README.md

[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
  sift [options] upgrade [--pre-release]
  sift [options] version
  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 (complete or packages-only) [default: complete]
  --user=<user>         User used for SIFT config [default: ${currentUser}]
  --no-cache            Ignore the cache, always download the release files

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.sha256.asc
  3. Import the PGP Key - gpg --keyserver pgp.mit.edu --recv-keys 22598A94
  4. Validate the signature gpg --verify sift-cli-linux.sha256.asc
  5. Validate SHA256 signature shasum -a 256 -c sift-cli-linux.sha256.asc OR sha256sum -c sift-cli-linux.sha256.asc
    • Note: You'll see an error about improperly formatted lines, it can be ignored so long as you see sift-cli-linux: OK before it
  6. Move the file to sudo mv sift-cli-linux /usr/local/bin/sift
  7. Run chmod 755 /usr/local/bin/sift
  8. Type sift --help to see its usage

Examples

Install Latest SIFT

sift install

Install Latest SIFT (packages only)

sift install --mode=packages-only

Install Specific Version

sift install v2017.22.2

Update Existing VM

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

sift update

Upgrading to new SIFT Release

sift upgrade