{"id":13528029,"url":"https://github.com/lastpass/lastpass-cli","last_synced_at":"2025-04-23T20:56:45.748Z","repository":{"id":22253156,"uuid":"25586782","full_name":"lastpass/lastpass-cli","owner":"lastpass","description":"LastPass command line interface tool","archived":false,"fork":false,"pushed_at":"2025-04-22T13:42:32.000Z","size":1049,"stargazers_count":2878,"open_issues_count":202,"forks_count":294,"subscribers_count":68,"default_branch":"master","last_synced_at":"2025-04-23T20:56:28.133Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"C","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/lastpass.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":"CONTRIBUTING","funding":null,"license":"COPYING","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2014-10-22T14:46:14.000Z","updated_at":"2025-04-22T13:42:37.000Z","dependencies_parsed_at":"2024-04-15T17:28:27.472Z","dependency_job_id":"e14477c9-b5bd-43c2-adc6-4a9ad600df95","html_url":"https://github.com/lastpass/lastpass-cli","commit_stats":{"total_commits":465,"total_committers":73,"mean_commits":6.36986301369863,"dds":"0.34838709677419355","last_synced_commit":"a5b93b9015e1524f557e3eb4fdf688a407d41c73"},"previous_names":[],"tags_count":32,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lastpass%2Flastpass-cli","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lastpass%2Flastpass-cli/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lastpass%2Flastpass-cli/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lastpass%2Flastpass-cli/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/lastpass","download_url":"https://codeload.github.com/lastpass/lastpass-cli/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":250514767,"owners_count":21443208,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-08-01T06:02:10.602Z","updated_at":"2025-04-23T20:56:45.728Z","avatar_url":"https://github.com/lastpass.png","language":"C","readme":"# LastPass CLI\n#### (c) 2014-2019 LastPass.\n\nCommand line interface to [LastPass.com](https://lastpass.com/).\n\n## Operating System Support\n\n`lpass` is designed to run on GNU/Linux, Cygwin and Mac OS X.\n\n## Dependencies\n\n* [LibreSSL](http://www.libressl.org/) or [OpenSSL](https://www.openssl.org/)\n* [libcurl](http://curl.haxx.se/)\n* [libxml2](http://xmlsoft.org/)\n* [pinentry](https://www.gnupg.org/related_software/pinentry/index.en.html) (optional)\n* [AsciiDoc](http://www.methods.co.nz/asciidoc/) (build-time documentation generation only)\n* [xclip](http://sourceforge.net/projects/xclip/), [xsel](http://www.vergenet.net/~conrad/software/xsel/), [pbcopy](https://developer.apple.com/library/mac/documentation/Darwin/Reference/ManPages/man1/pbcopy.1.html), or [putclip from cygutils-extra](https://cygwin.com/cgi-bin2/package-grep.cgi?grep=cygutils-extra) for clipboard support (optional)\n\n### Installing on Linux\n#### Arch\n* A binary package is available from the community repository, use pacman to simple install lastpass-cli.\n* Can be build from source with the \"lastpass-cli-git\" *[Arch User Repository (AUR)](https://aur.archlinux.org/packages.php?O=0\u0026L=0\u0026C=0\u0026K=lastpass-cli).\nInformation about installing packages from the AUR [can be found on the Arch wiki](https://wiki.archlinux.org/index.php/Arch_User_Repository#Installing_packages).\n\n```\n# from community repository\nsudo pacman -S lastpass-cli\n# from AUR repository\npacker -S lastpass-cli-git\n```\n\n#### Fedora\n\n* Packages are available in Fedora 22 and later.\n\n```\nsudo dnf install lastpass-cli\n```\n\n#### Red Hat/Centos\n\n* Packages are available in [EPEL](https://fedoraproject.org/wiki/EPEL) for RHEL/CentOS 7 and later.\n\n```\nsudo yum install lastpass-cli\n```\n\n* For older versions: Install the needed build dependencies, and then follow instructions in\n  the 'Building' section.\n\n```\nsudo yum install openssl libcurl libxml2 pinentry xclip openssl-devel libxml2-devel libcurl-devel gcc gcc-c++ make cmake\n```\n\n\n#### Debian/Ubuntu\n\n* Install the needed build dependencies, and then follow instructions in\n  the 'Building' section.\n\n* For Ubuntu 16.04 (xenial)\n\n```\napt-get --no-install-recommends -yqq install \\\n  bash-completion \\\n  build-essential \\\n  cmake \\\n  libcurl3  \\\n  libcurl3-openssl-dev  \\\n  libssl1.0.0 \\\n  libssl-dev \\\n  libxml2 \\\n  libxml2-dev  \\\n  pkg-config \\\n  ca-certificates \\\n  xclip\n```\n\n* For Debian (stable/oldstable) and other Ubuntus \u003c 18.04\n\n```\napt-get --no-install-recommends -yqq install \\\n  bash-completion \\\n  build-essential \\\n  cmake \\\n  libcurl3  \\\n  libcurl3-openssl-dev  \\\n  libssl1.0 \\\n  libssl1.0-dev \\\n  libxml2 \\\n  libxml2-dev  \\\n  pkg-config \\\n  ca-certificates \\\n  xclip\n```\n\n* For Debian (testing/experimental) and Ubuntu \u003e= 18.04\n\n```\napt-get --no-install-recommends -yqq install \\\n  bash-completion \\\n  build-essential \\\n  cmake \\\n  libcurl4  \\\n  libcurl4-openssl-dev  \\\n  libssl-dev  \\\n  libxml2 \\\n  libxml2-dev  \\\n  libssl1.1 \\\n  pkg-config \\\n  ca-certificates \\\n  xclip\n```\n\n#### Gentoo\n* Install the package:\n\n```\nsudo emerge lastpass-cli\n```\n\n#### Other Linux Distros\nInstall the packages listed in the Dependencies section of this document,\nand then follow instructions in the 'Building' section.\n\n### Installing on OS X\n\n#### With [Homebrew](http://brew.sh/) (easiest)\n* Install Homebrew, if necessary.\n* Update Homebrew's local formula cache:\n\n```\nbrew update\n```\n\n* Install the lastpass-cli formula:\n\n```\nbrew install lastpass-cli\n```\n\n#### With [MacPorts](https://www.macports.org/)\n* [Install MacPorts](https://www.macports.org/install.php), if necessary.\n* Update MacPorts' local ports tree:\n\n```\nsudo port selfupdate\n```\n\n* Install the lastpass-cli port:\n\n```\nsudo port install lastpass-cli\n```\n\n* Optionally install the documentation:\n\n```\nsudo port install lastpass-cli-doc\n```\n\n#### Manually\nInstall the packages listed in the Dependencies section of this document,\nand then follow instructions in the 'Building' section.\n\n### Installing on FreeBSD\n* Install the binary package:\n\n```\nsudo pkg install security/lastpass-cli\n```\n\n* Or build the port yourself:\n\n```\nsudo make -C /usr/ports/security/lastpass-cli all install clean\n```\n\n### Installing on Cygwin\n* Install [apt-cyg](https://github.com/transcode-open/apt-cyg)\n* Using apt-cyg, install the needed build dependencies, and then follow\n  instructions in the 'Building' section.\n\n```\napt-cyg install wget make cmake gcc-core gcc-g++ openssl-devel libcurl-devel libxml2-devel libiconv-devel cygutils-extra\n```\n\n## Building\n\n    $ make\n\nUnder the covers, make invokes cmake in a build directory; you may also use\ncmake directly if you need more control over the build process.\n\n## Installing\n\n    $ sudo make install\n\nThese environment variables can be passed to make to do the right thing: `PREFIX`, `DESTDIR`, `BINDIR`, `LIBDIR`, `MANDIR`.\n\n## Running\n\nIf you've installed it:\n\n    $ lpass\n\nOtherwise, from the build directory:\n\n    $ ./lpass\n\n## Documentation\n\nInstall `asciidoc` and `xsltproc` if they are not already installed.\n\n    $ sudo apt-get install asciidoc xsltproc\n\nThe `install-doc` target builds and installs the documentation.\n\n    $ sudo make install-doc\n\nOnce installed,\n\n    $ man lpass\n\nYou can view the full documentation in the manpage, `man lpass` or [view it online](https://lastpass.github.io/lastpass-cli/lpass.1.html).\n","funding_links":[],"categories":["C","others"],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flastpass%2Flastpass-cli","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flastpass%2Flastpass-cli","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flastpass%2Flastpass-cli/lists"}