|
2 | 2 |
|
3 | 3 | ### Instant, easy, and predictable shells and containers
|
4 | 4 |
|
5 |
| -[](https://discord.gg/agbskCJXk2)  [](https://github.com/jetpack-io/devbox/releases) |
| 5 | +[](https://discord.gg/agbskCJXk2)  [](https://github.com/jetpack-io/devbox/releases) |
6 | 6 |
|
7 | 7 | ---
|
8 | 8 |
|
@@ -72,37 +72,46 @@ In this quickstart we’ll create a development shell with specific tools instal
|
72 | 72 | devbox init
|
73 | 73 | ```
|
74 | 74 |
|
75 |
| - This creates `devbox.json`. You should commit this file. |
| 75 | + This creates a `devbox.json` file in the current directory. You should commit it to source control. |
76 | 76 |
|
77 | 77 | 3. Add command-line tools from [Nix Packages](https://search.nixos.org/packages). For example, to add Python 3.10:
|
78 | 78 |
|
79 | 79 | ```bash
|
80 | 80 | devbox add python310
|
81 | 81 | ```
|
| 82 | +4. Your `devbox.json` file keeps track of the packages you've added, it should now look like this: |
| 83 | + |
| 84 | + ```json |
| 85 | + { |
| 86 | + "packages": [ |
| 87 | + "python310" |
| 88 | + ] |
| 89 | + } |
| 90 | + ``` |
82 | 91 |
|
83 |
| -4. Start a new shell that has these tools installed: |
| 92 | +5. Start a new shell that has these tools installed: |
84 | 93 |
|
85 | 94 | ```bash
|
86 | 95 | devbox shell
|
87 | 96 | ```
|
88 | 97 |
|
89 | 98 | You can tell you’re in a Devbox shell (and not your regular terminal) because the shell prompt and directory changed.
|
90 | 99 |
|
91 |
| -5. Use your favorite tools. |
| 100 | +6. Use your favorite tools. |
92 | 101 |
|
93 | 102 | In this example we installed Python 3.10, so let’s use it.
|
94 | 103 |
|
95 | 104 | ```bash
|
96 | 105 | python --version
|
97 | 106 | ```
|
98 | 107 |
|
99 |
| -6. Your regular tools are also available including environment variables and config settings. |
| 108 | +7. Your regular tools are also available including environment variables and config settings. |
100 | 109 |
|
101 | 110 | ```bash
|
102 | 111 | git config --get user.name
|
103 | 112 | ```
|
104 | 113 |
|
105 |
| -7. To exit the Devbox shell and return to your regular shell: |
| 114 | +8. To exit the Devbox shell and return to your regular shell: |
106 | 115 |
|
107 | 116 | ```bash
|
108 | 117 | exit
|
@@ -142,7 +151,8 @@ Want more languages? [Ask for a new Language](https://github.com/jetpack-io/devb
|
142 | 151 |
|
143 | 152 | ## Join our Developer Community
|
144 | 153 |
|
145 |
| -Ask questions, suggest ideas, and get help by [joining the `#devbox` channel](https://discord.gg/agbskCJXk2) in the Jetpack.io Discord Server. |
| 154 | ++ Chat with us by joining the [Jetpack.io Discord Server](https://discord.gg/agbskCJXk2) – we have a #devbox channel dedicated to this project. |
| 155 | ++ File bug reports and feature requests using [Github Issues](https://github.com/jetpack-io/devbox/issues) |
146 | 156 |
|
147 | 157 | ## Related Work
|
148 | 158 |
|
|
0 commit comments