Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
mah0x211 committed Sep 28, 2023
1 parent f76c7fe commit 1efd713
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,16 +11,19 @@ Lua Version Manager.

1. download a binary release from the [releases](https://github.com/mah0x211/lenv/releases) page.
2. extract the downloaded file and place the `lenv` command in the desired location. (e.g. `/usr/local/bin/lenv`)

3. run a `lenv setup` command to set up the required files and directories.
- you can also run a `lenv -g setup` command to set up the required files and directories in the `/usr/local/lenv` directory.

**Setting up the `.lenvrc` file.**

1. run `lenv path > ~/.lenvrc` command to create the `lenvrc` file.
- if you set up the required files and directories in the `/usr/local/lenv` directory, you should run a `lenv -g path > ~/.lenvrc` command.
2. add the following to your `.bashrc` or `.bash_profile` file.
```sh
source ~/.lenvrc
```


## Commands

please run a `help` command to show the help message.
Expand Down

0 comments on commit 1efd713

Please sign in to comment.