0.34.0 • Published 3 years ago
@flightpkg/cli v0.34.0
: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 | bashIf 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 indexHomebrew:
$ brew install flightpkg/flightWindows:
> 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
- Clone the repository using git.
$ git clone https://github.com/flightpkg/flight- CD into the
flightdirectory.
$ cd flight- Install @vercel/ncc globally if it isnt already installed
$ npm i @vercel/ncc
$ yarn global add @vercel/ncc- Run the build script
$ npm run compile && npm run build
$ yarn compile && yarn build- CD into the dist/js directory, then init.
$ cd dist/js
-------------
$ npm init
$ yarn init🕵️♂️ VirusTotal Scans
| Platform | VirusTotal Scan |
|---|---|
| Windows |
:clap: Supporters
Built With
License
Apache-2.0 © flightpkg - see the LICENSE.md file for details.