Skip to content

Commit

Permalink
Drop the mention of composer global require
Browse files Browse the repository at this point in the history
  • Loading branch information
tonysm committed Oct 27, 2023
1 parent c3df03d commit 2eae549
Showing 1 changed file with 1 addition and 11 deletions.
12 changes: 1 addition & 11 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,22 +19,12 @@ But you can also easily enable ElasticSearch, PostgreSQL, MSSQL, Mongo, Redis, a

Takeout works on macOS, Linux, and Windows. To get started, make sure you have [Docker installed](https://docs.docker.com/get-docker/) on your system.

You may use the dockerized version via an alias. Add this to your `~/.bashrc` (or similar):
To install Takeout locally, add this alias to your `.bashrc` (or similar):

```bash
alias takeout="docker run --rm -v /var/run/docker.sock:/var/run/docker.sock -it tighten/takeout:latest"
```

This is the preffered way, since it doesn't require you to have PHP installed locally and, even if you have, doesn't conflict with your local PHP version.

Otherwise, if you have PHP (8.0+) and [Composer](https://getcomposer.org/) installed locally, you may install Takeout globally with:

```bash
composer global require tightenco/takeout
```

Make sure the `~/.composer/vendor/bin` directory is in your system's "PATH".

## Usage

Run `takeout` and then a command name from anywhere in your terminal.
Expand Down

0 comments on commit 2eae549

Please sign in to comment.