Installing Amazon ParallelCluster in a non-virtual environment using pip - Amazon ParallelCluster
Services or capabilities described in Amazon Web Services documentation might vary by Region. To see the differences applicable to the China Regions, see Getting Started with Amazon Web Services in China (PDF).

Installing Amazon ParallelCluster in a non-virtual environment using pip

Prerequisites
Install Amazon ParallelCluster
  1. Use pip to install Amazon ParallelCluster.

    $ python3 -m pip install "aws-parallelcluster" --upgrade --user

    When you use the --user switch, pip installs Amazon ParallelCluster to ~/.local/bin.

  2. Install Node Version Manager and the latest Long-Term Support (LTS) Node.js version. Amazon Cloud Development Kit (Amazon CDK) (Amazon CDK) requires Node.js for CloudFormation for template generation.

    Note

    If your Node.js installation isn't working on your platform, you can install an LTS version prior to the latest LTS version. For more information, see the Node.js release schedule and the Amazon CDK prerequisites.

    $ nvm install --lts=Gallium
    $ curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.38.0/install.sh | bash $ chmod ug+x ~/.nvm/nvm.sh $ source ~/.nvm/nvm.sh $ nvm install --lts $ node --version
  3. Verify that Amazon ParallelCluster installed correctly.

    $ pcluster version { "version": "3.7.0" }
  4. To upgrade to the latest version, run the installation command again.

    $ python3 -m pip install "aws-parallelcluster" --upgrade --user