-
Notifications
You must be signed in to change notification settings - Fork 0
Installing
This installing guide only shows what this Wiki editor believes is the best way to do, but you can try installing it in different way.
This method is pretty easy, just clone the entire repository (use git clone https://github.com/MangoPlex/Multipacks.git
if you have Git, or just download it as .zip
file, but like, whoever want to do that?), open a terminal inside the repository folder, then type ./gradlew :multipacks-cli:installDist
.
To confirm that you have installed Multipacks CLI using Gradle, try typing multipacks-cli
in your terminal. If you see some generic "missing command" error, you might have to restart your terminal.
Updating Multipacks CLI is also pretty easy. If you cloned with git
command, use git pull
then use ./gradlew :multipacks-cli:installDist
to install again.
- Choosing a location that you less likely ever touch it (something like
C:\mpcli
or/home/username/.mpcli
). We'll chooseC:\mpcli
for this installation guide. - Download Multipacks CLI archive on Releases page.
- Extract all contents inside
multipacks-cli.zip/multipacks-cli-VERSIONNUMBER/
(VERSIONNUMBER
indicates the version of Multipacks CLI) to the folder that you've choosen (in this case, copy bothbin/
andlib/
toC:\mpcli
). - Add
<choosen folder>/bin
to the path environmental variable.
- On Windows 10+, you can just type "envir" inside the search bar, look for "Edit the system environmental variables" and click on it. On other versions, you'll have to find "System Properties".
- Inside "Advanced" tab, click on "Environmental Variables..."
- There are 2 sections that can have path: User variables and System variables. If you are planning on allowing all local users to use Multipacks CLI, continue with System variable, otherwise just go for User variables. We'll go with User variables for this guide.
- Find
Path
under "Variable" column then click on it. - Click the "Edit..." button
- Click "New" and type (or paste)
<choosen folder>\bin
. Since we've choosenC:\mpcli
to store Multipacks CLI installation, we'll typeC:\mpcli\bin
. - Click "OK" across all opened windows to confirm changes.
- Restart your terminal.
- Download Multipacks CLI archive again
- Extract all contents inside
multipacks-cli.zip/multipacks-cli-VERSIONNUMBER
to the folder that is storing previous version of Multipacks CLI (in this case, copy bothbin/
andlib/
toC:\mpcli
once again) - Restart your terminal
Multipacks Wiki super-duper-useful sidebar
- Pack Post Processing
- Include
- Files manipulation
- Advanced
- Allocations