From e7f1785400be529d2a3d954a0fa0f7fc5f087a2f Mon Sep 17 00:00:00 2001 From: Matt Johnson-Pint Date: Mon, 9 Dec 2024 11:43:46 -0800 Subject: [PATCH 1/3] Update modus-cli.mdx --- modus/modus-cli.mdx | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) diff --git a/modus/modus-cli.mdx b/modus/modus-cli.mdx index 890f109c..f3c94792 100644 --- a/modus/modus-cli.mdx +++ b/modus/modus-cli.mdx @@ -15,6 +15,26 @@ Install Modus CLI via npm. npm install -g @hypermode/modus-cli ``` + + +The Modus CLI will automatically download various files and dependencies to the following directory: + +- Linux/macOS: `$HOME/.modus` +- Windows: `%USERPROFILE%/.modus` + +If you would like to override the location of this directory, you can set the `MODUS_HOME` environment variable to the desired path. + +For example, if your local permissions on Windows do not allow creating a directory in the root of your user profile, you can try a different location. +You can use the `AppData` directory, or any other directory where you have write permissions. + +```cmd +setx MODUS_HOME %APPDATA%\Modus +``` + +_Note: The Windows `setx` command will make the environment variable setting permanent._ + + + ## Commands ### `new` From 08da7e0e5c3a1fcc02d9d56c8aa9f6df6008e02d Mon Sep 17 00:00:00 2001 From: Matt Johnson-Pint Date: Mon, 9 Dec 2024 11:59:37 -0800 Subject: [PATCH 2/3] . --- modus/modus-cli.mdx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/modus/modus-cli.mdx b/modus/modus-cli.mdx index f3c94792..82353784 100644 --- a/modus/modus-cli.mdx +++ b/modus/modus-cli.mdx @@ -17,21 +17,21 @@ npm install -g @hypermode/modus-cli -The Modus CLI will automatically download various files and dependencies to the following directory: +The Modus CLI automatically downloads various files and dependencies to the following directory: - Linux/macOS: `$HOME/.modus` - Windows: `%USERPROFILE%/.modus` If you would like to override the location of this directory, you can set the `MODUS_HOME` environment variable to the desired path. -For example, if your local permissions on Windows do not allow creating a directory in the root of your user profile, you can try a different location. +For example, if your local permissions on Windows don't allow creating a directory in the root of your user profile, you can try a different location. You can use the `AppData` directory, or any other directory where you have write permissions. ```cmd setx MODUS_HOME %APPDATA%\Modus ``` -_Note: The Windows `setx` command will make the environment variable setting permanent._ +_Note, the Windows `setx` command makes the environment variable setting permanent._ From 5097fe74f2c8179fa59e7fcdcf0c8c492b1243e3 Mon Sep 17 00:00:00 2001 From: Ryan Fox-Tyler <60440289+ryanfoxtyler@users.noreply.github.com> Date: Mon, 9 Dec 2024 15:37:01 -0500 Subject: [PATCH 3/3] Update modus-cli.mdx --- modus/modus-cli.mdx | 15 ++++++++++----- 1 file changed, 10 insertions(+), 5 deletions(-) diff --git a/modus/modus-cli.mdx b/modus/modus-cli.mdx index 82353784..5cee3604 100644 --- a/modus/modus-cli.mdx +++ b/modus/modus-cli.mdx @@ -17,21 +17,26 @@ npm install -g @hypermode/modus-cli -The Modus CLI automatically downloads various files and dependencies to the following directory: +The Modus CLI automatically downloads various files and dependencies to the +following directory: - Linux/macOS: `$HOME/.modus` - Windows: `%USERPROFILE%/.modus` -If you would like to override the location of this directory, you can set the `MODUS_HOME` environment variable to the desired path. +If you would like to override the location of this directory, you can set the +`MODUS_HOME` environment variable to the desired path. -For example, if your local permissions on Windows don't allow creating a directory in the root of your user profile, you can try a different location. -You can use the `AppData` directory, or any other directory where you have write permissions. +For example, if your local permissions on Windows don't allow creating a +directory in the root of your user profile, you can try a different location. +You can use the `AppData` directory, or any other directory where you have write +permissions. ```cmd setx MODUS_HOME %APPDATA%\Modus ``` -_Note, the Windows `setx` command makes the environment variable setting permanent._ +_Note, the Windows `setx` command makes the environment variable setting +permanent._