warp/INSTALL.md

2.4 KiB

Installation Instructions

Instructions for installing the warp-packer executable on Linux, Mac, and Windows.

Table of Contents

Linux

  1. Copy the warp-packer executable to a directory in your PATH:

    For example, you can copy it to /usr/local/bin:

    sudo cp /path/to/warp-packer /usr/local/bin/
    
  2. Ensure the warp-packer executable has the correct permissions:

    Make the file executable:

    sudo chmod +x /usr/local/bin/warp-packer
    
  3. Verify the installation:

    Check that the executable is in your PATH and works correctly:

    warp-packer --version
    

Mac

  1. Copy the warp-packer executable to a directory in your PATH:

    For example, you can copy it to /usr/local/bin:

    sudo cp /path/to/warp-packer /usr/local/bin/
    
  2. Ensure the warp-packer executable has the correct permissions:

    Make the file executable:

    sudo chmod +x /usr/local/bin/warp-packer
    
  3. Verify the installation:

    Check that the executable is in your PATH and works correctly:

    warp-packer --version
    

Windows

  1. Copy the warp-packer executable to a directory in your PATH:

    For example, you can copy it to C:\Program Files\warp-packer:

    Copy-Item -Path "C:\path\to\warp-packer.exe" -Destination "C:\Program Files\warp-packer\"
    
  2. Add the directory to your PATH environment variable:

    • Open the Start Search, type in "env", and select "Edit the system environment variables".
    • In the System Properties window, click on the "Environment Variables..." button.
    • In the Environment Variables window, under "System variables", find the Path variable, select it, and click "Edit...".
    • In the Edit Environment Variable window, click "New" and add the path to the directory where you copied the warp-packer executable (C:\Program Files\warp-packer\).
    • Click "OK" to close all windows.
  3. Verify the installation:

    Open a new Command Prompt and check that the executable is in your PATH and works correctly:

    warp-packer --version
    

By following these steps, you will have the warp-packer executable installed and ready to use on Linux, Mac, and Windows.