Skip to content
This repository was archived by the owner on May 27, 2025. It is now read-only.

Installation

PaulVisscher edited this page Feb 11, 2017 · 1 revision

ZPM installs in your path and makes it easy to use and update premake.
To install, pick your os and execute the command!

Prerequisites

ZPM has a few dependencies:

  • Git: Download here.
  • Git LFS: Check install instructions here.

Note that both Git and Git LFS need to be available from the command line, and thus need to be installed in your path variable. You can check by typing git --version in your shell.

Windows

Execute:

powershell -command "Invoke-WebRequest -Uri https://raw.githubusercontent.com/Zefiros-Software/ZPM/master/script/install-zpm.bat -OutFile %TEMP%/install-zpm.bat" && %TEMP%/install-zpm.bat && set PATH=%PATH%;%ALLUSERSPROFILE%/zpm

A restart may be required since the path variable has changed.

Linux

Execute:

wget -O - https://raw.githubusercontent.com/Zefiros-Software/ZPM/master/script/install-zpm.sh | bash

OSX

Execute:

wget -O - https://raw.githubusercontent.com/Zefiros-Software/ZPM/master/script/install-zpm-osx.sh | bash

Travis

Execute:

install:
    - wget -O - https://raw.githubusercontent.com/Zefiros-Software/ZPM/master/script/install-zpm-travis.sh | bash

AppVeyor

Execute:

install:
    - powershell -command "Invoke-WebRequest -Uri https://goo.gl/1Zcf72 -OutFile %TEMP%/install-zpm.bat" && %TEMP%/install-zpm.bat 
    - "SET PATH=%PATH%;%ALLUSERSPROFILE%/zpm"

Testing

Test whether you get output similar to underneath when you run zpm --version.

ZPM Install Check

Clone this wiki locally