LinuxCommandLibrary
GitHubF-DroidGoogle Play Store

haxelib

Package manager for the Haxe programming language

TLDR

Install a library
$ haxelib install [library]
copy
Install a specific version
$ haxelib install [library] [version]
copy
Install from a zip file
$ haxelib install [file.zip]
copy
Update a single library
$ haxelib update [library]
copy
Update all installed libraries
$ haxelib update
copy
List installed libraries
$ haxelib list
copy
Search for libraries
$ haxelib search [query]
copy
Remove a library
$ haxelib remove [library]
copy
Use a git repository as a library
$ haxelib git [library] [https://github.com/user/repo.git]
copy
Point a library at a local development directory
$ haxelib dev [library] [path/to/source]
copy

SYNOPSIS

haxelib command [arguments]

DESCRIPTION

haxelib is the package manager for the Haxe programming language. It installs, updates, and removes libraries from the central registry at `lib.haxe.org`, and also supports installing libraries from git or mercurial repositories or local zip archives.The `dev` command points a library at a local working copy, which is the standard workflow for developing a library and testing it inside another project. The `newrepo` command creates a per-project library directory so each project can pin its own dependency versions.

SUBCOMMANDS

install name [version]

Install a library from the haxelib repository or a local zip.
update [name]
Update a single library, or all installed libraries when no name is given.
upgrade
Update every installed library to the latest version.
remove name [version]
Remove an installed library.
list
List installed libraries and their versions.
search query
Search the haxelib repository for libraries matching query.
info name
Show information about a library.
run name [args...]
Execute a library's run script.
dev name path
Point a library at a local development directory. Pass no path to clear.
git name url [branch]
Use a git repository as the source for a library.
hg name url [branch]
Use a mercurial repository as the source for a library.
path name...
Print source paths, dependencies, and compiler defines for the given libraries.
libpath name...
Print the root path of each library, one per line.
version
Print the haxelib version.
config
Print the haxelib repository path.
setup [path]
Configure the haxelib repository path.
newrepo
Create a local repository in the current directory.
deleterepo
Remove the local repository in the current directory.
selfupdate
Update haxelib itself.

CAVEATS

The default repository is shared system-wide; use `haxelib newrepo` for project-local installs. Library names are case-sensitive on case-sensitive filesystems.

SEE ALSO

npm(1)

Copied to clipboard
Kai