0.34.0 • Published 2 years ago

@flightpkg/cli v0.34.0

Weekly downloads
-
License
MIT
Repository
github
Last release
2 years ago

:zap: Installation

We don't have an official release of Flight yet, however, if you would like to give it a try, feel free to follow the steps below to install a pre-alpha release.

Linux:

Shell script (Recommended):

$ curl -qL https://raw.githubusercontent.com/flightpkg/flight/main/install.sh | bash

If the installer doesn't set your environment variables, add it using:

$ echo "export PATH=~/flight/bin:$PATH" >> YOUR_SHELL_CONFIG_HERE

...and restart your shell to use the command flight

NodeJS based installer:

$ curl https://raw.githubusercontent.com/flightpkg/flight/setup/dist/index.js -O && node index

Homebrew:

$ brew install flightpkg/flight

Windows:

> Set-ExecutionPolicy Bypass -Scope Process -Force; [System.Net.ServicePointManager]::SecurityProtocol = [System.Net.ServicePointManager]::SecurityProtocol -bor 3072; iex ((New-Object System.Net.WebClient).DownloadString('https://raw.githubusercontent.com/flightpkg/flight/main/install.ps1'))

Build From Source

Prerequisites: Git, Yarn and/or NPM, NodeJS.

Steps

  1. Clone the repository using git.
$ git clone https://github.com/flightpkg/flight
  1. CD into the flight directory.
$ cd flight
  1. Install @vercel/ncc globally if it isnt already installed
$ npm i @vercel/ncc
$ yarn global add @vercel/ncc
  1. Run the build script
$ npm run compile && npm run build
$ yarn compile && yarn build
  1. CD into the dist/js directory, then init.
$ cd dist/js
-------------
$ npm init 
$ yarn init

🕵️‍♂️ VirusTotal Scans

PlatformVirusTotal Scan
Windows

:clap: Supporters

Stargazers repo roster for @flightpkg/flight

Built With

NodeJS

License

Apache-2.0 © flightpkg - see the LICENSE.md file for details.