Quickstart

This page will help you get started with Phylum CLI tool. You'll be up and running in a jiffy!


Introduction

The command line interface (CLI) allows users to submit their project package dependencies to Phylum's API for analysis. Currently pre-built binaries for Linux and macOS are available. On Windows, we recommend using the Linux binaries under WSL. For more options, see Alternate Installation Methods.

asciicast

Install phylum

Install on Linux

Install on Linux with the following command:

curl https://sh.phylum.io/ | sh -

Install on macOS

On macOS, we recommend installing phylum with Homebrew:

brew tap phylum-dev/cli
brew install phylum

Quickstart for Linux or macOS

  1. Register for an account (if you don't already have one)

    phylum auth register
    
  2. Authenticate with Phylum

    phylum auth login
    
  3. Setup your Phylum project in your project directory

    phylum init
    
  4. Submit your package lock file

    phylum analyze
    
  5. (Optional) View the analysis results in the Phylum UI


License

Copyright (C) 2022 Phylum, Inc.

This program is free software: you can redistribute it and/or modify it under
the terms of the GNU General Public License as published by the Free Software
Foundation, either version 3 of the License or any later version.

This program is distributed in the hope that it will be useful, but WITHOUT
ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with
this program. If not, see https://www.gnu.org/licenses/gpl.html or write to
[email protected] or [email protected]

Discord

Join us on the Phylum Community Discord!

Questions/Issues

Please contact Phylum with any questions or issues using the CLI tool.

Email: [email protected]